var OGVDecoderVideoVP9
(function() {
  var scriptSrc;
  if (typeof document !== 'undefined' && document.currentScript) scriptSrc = document.currentScript.src;
OGVDecoderVideoVP9 = function(OGVDecoderVideoVP9) {
  OGVDecoderVideoVP9 = OGVDecoderVideoVP9 || {};
  if (!OGVDecoderVideoVP9.currentScriptUrl) OGVDecoderVideoVP9.currentScriptUrl = scriptSrc;
  var Module = OGVDecoderVideoVP9;

var options=Module;Module={print:(function(str){console.log(str)})};if(typeof OGVLoader!=="undefined"){Module["pthreadMainPrefixURL"]=OGVLoader.base+"/"}if(options["memoryLimit"]&&!options.wasmBinary){Module["TOTAL_MEMORY"]=options["memoryLimit"]}for(option in options){if(options.hasOwnProperty(option)){Module[option]=options[option]}}var Math_imul_orig=Math.imul;var OGVDecoderVideoVP9=Module;var Module;if(!Module)Module=(typeof OGVDecoderVideoVP9!=="undefined"?OGVDecoderVideoVP9:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else if(Module["ENVIRONMENT"]==="PTHREAD"){ENVIRONMENT_IS_WORKER=true;ENVIRONMENT_IS_PTHREAD=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return xhr.response}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;return value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i<Runtime.functionPointers.length;i++){if(!Runtime.functionPointers[i]){Runtime.functionPointers[i]=func;return 2*(1+i)}}throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."}),removeFunction:(function(index){Runtime.functionPointers[(index-2)/2]=null}),warnOnce:(function(text){if(!Runtime.warnOnce.shown)Runtime.warnOnce.shown={};if(!Runtime.warnOnce.shown[text]){Runtime.warnOnce.shown[text]=1;Module.printErr(text)}}),funcWrappers:{},getFuncWrapper:(function(func,sig){assert(sig);if(!Runtime.funcWrappers[sig]){Runtime.funcWrappers[sig]={}}var sigCache=Runtime.funcWrappers[sig];if(!sigCache[func]){if(sig.length===1){sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func)}}else if(sig.length===2){sigCache[func]=function dynCall_wrapper(arg){return Runtime.dynCall(sig,func,[arg])}}else{sigCache[func]=function dynCall_wrapper(){return Runtime.dynCall(sig,func,Array.prototype.slice.call(arguments))}}}return sigCache[func]}),getCompilerSetting:(function(name){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"}),stackAlloc:(function(size){var ret=STACKTOP;STACKTOP=STACKTOP+size|0;STACKTOP=STACKTOP+15&-16;return ret}),staticAlloc:(function(size){var ret=STATICTOP;STATICTOP=STATICTOP+size|0;STATICTOP=STATICTOP+15&-16;return ret}),dynamicAlloc:(function(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=Runtime.stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);if(returnType==="string")ret=Pointer_stringify(ret);if(stack!==0){if(opts&&opts.async){EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(stack)}));return}Runtime.stackRestore(stack)}return ret};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(jsfunc){var parsed=jsfunc.toString().match(sourceRegex).slice(1);return{arguments:parsed[0],body:parsed[1],returnValue:parsed[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var fun in JSfuncs){if(JSfuncs.hasOwnProperty(fun)){JSsource[fun]=parseJSFunc(JSfuncs[fun])}}}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident);var numericArgs=argTypes.every((function(type){return type==="number"}));var numericRet=returnType!=="string";if(numericRet&&numericArgs){return cfunc}var argNames=argTypes.map((function(x,i){return"$"+i}));var funcstr="(function("+argNames.join(",")+") {";var nargs=argTypes.length;if(!numericArgs){ensureJSsource();funcstr+="var stack = "+JSsource["stackSave"].body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type==="number")continue;var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";";funcstr+=convertCode.body+";";funcstr+=arg+"=("+convertCode.returnValue+");"}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");";if(!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}if(!numericArgs){ensureJSsource();funcstr+=JSsource["stackRestore"].body.replace("()","(stack)")+";"}funcstr+="return ret})";return eval(funcstr)}}))();Module["ccall"]=ccall;Module["cwrap"]=cwrap;function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr<stop;ptr+=4){HEAP32[ptr>>2]=0}stop=ret+size;while(ptr<stop){HEAP8[ptr++>>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i];if(typeof curr==="function"){curr=Runtime.getFunctionIndex(curr)}type=singleType||types[i];if(type===0){i++;continue}if(type=="i64")type="i32";setValue(ret+i,curr,type);if(previousType!==type){typeSize=Runtime.getNativeTypeSize(type);previousType=type}i+=typeSize}return ret}Module["allocate"]=allocate;function getMemory(size){if(!staticSealed)return Runtime.staticAlloc(size);if(!runtimeInitialized)return Runtime.dynamicAlloc(size);return _malloc(size)}Module["getMemory"]=getMemory;function Pointer_stringify(ptr,length){if(length===0||!ptr)return"";var hasUtf=0;var t;var i=0;while(1){t=HEAPU8[ptr+i>>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];if(__cxa_demangle_func){try{var s=func.substr(1);var len=lengthBytesUTF8(s)+1;var buf=_malloc(len);stringToUTF8(s,buf,len);var status=_malloc(4);var ret=__cxa_demangle_func(buf,0,0,status);if(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling");return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}Module["stackTrace"]=stackTrace;var HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value "+TOTAL_MEMORY+", (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||33554432;if(TOTAL_MEMORY<TOTAL_STACK)Module.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+TOTAL_MEMORY+"! (TOTAL_STACK="+TOTAL_STACK+")");if(Module["buffer"]){buffer=Module["buffer"]}else{{buffer=new ArrayBuffer(TOTAL_MEMORY)}}updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}HEAP32[0]=1668509029;HEAP16[1]=25459;if(HEAPU8[2]!==115||HEAPU8[3]!==99)throw"Runtime error: expected the system to be little-endian!";Module["HEAP"]=HEAP;Module["buffer"]=buffer;Module["HEAP8"]=HEAP8;Module["HEAP16"]=HEAP16;Module["HEAP32"]=HEAP32;Module["HEAPU8"]=HEAPU8;Module["HEAPU16"]=HEAPU16;Module["HEAPU32"]=HEAPU32;Module["HEAPF32"]=HEAPF32;Module["HEAPF64"]=HEAPF64;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i<array.length;i++){var chr=array[i];if(chr>255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i<str.length;++i){HEAP8[buffer++>>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+36176;__ATINIT__.push();allocate([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,1,0,251,255,126,0,8,0,253,255,1,0,0,0,255,255,3,0,246,255,122,0,18,0,250,255,2,0,0,0,255,255,4,0,243,255,118,0,27,0,247,255,3,0,255,255,255,255,4,0,240,255,112,0,37,0,245,255,4,0,255,255,255,255,5,0,238,255,105,0,48,0,242,255,4,0,255,255,255,255,5,0,237,255,97,0,58,0,240,255,5,0,255,255,255,255,6,0,237,255,88,0,68,0,238,255,5,0,255,255,255,255,6,0,237,255,78,0,78,0,237,255,6,0,255,255,255,255,5,0,238,255,68,0,88,0,237,255,6,0,255,255,255,255,5,0,240,255,58,0,97,0,237,255,5,0,255,255,255,255,4,0,242,255,48,0,105,0,238,255,5,0,255,255,255,255,4,0,245,255,37,0,112,0,240,255,4,0,255,255,255,255,3,0,247,255,27,0,118,0,243,255,4,0,255,255,0,0,2,0,250,255,18,0,122,0,246,255,3,0,255,255,0,0,1,0,253,255,8,0,126,0,251,255,1,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,253,255,255,255,32,0,64,0,38,0,1,0,253,255,0,0,254,255,254,255,29,0,63,0,41,0,2,0,253,255,0,0,254,255,254,255,26,0,63,0,43,0,4,0,252,255,0,0,254,255,253,255,24,0,62,0,46,0,5,0,252,255,0,0,254,255,253,255,21,0,60,0,49,0,7,0,252,255,0,0,255,255,252,255,18,0,59,0,51,0,9,0,252,255,0,0,255,255,252,255,16,0,57,0,53,0,12,0,252,255,255,255,255,255,252,255,14,0,55,0,55,0,14,0,252,255,255,255,255,255,252,255,12,0,53,0,57,0,16,0,252,255,255,255,0,0,252,255,9,0,51,0,59,0,18,0,252,255,255,255,0,0,252,255,7,0,49,0,60,0,21,0,253,255,254,255,0,0,252,255,5,0,46,0,62,0,24,0,253,255,254,255,0,0,252,255,4,0,43,0,63,0,26,0,254,255,254,255,0,0,253,255,2,0,41,0,63,0,29,0,254,255,254,255,0,0,253,255,1,0,38,0,64,0,32,0,255,255,253,255,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,255,255,3,0,249,255,127,0,8,0,253,255,1,0,0,0,254,255,5,0,243,255,125,0,17,0,250,255,3,0,255,255,253,255,7,0,239,255,121,0,27,0,246,255,5,0,254,255,252,255,9,0,236,255,115,0,37,0,243,255,6,0,254,255,252,255,10,0,233,255,108,0,48,0,240,255,8,0,253,255,252,255,10,0,232,255,100,0,59,0,237,255,9,0,253,255,252,255,11,0,232,255,90,0,70,0,235,255,10,0,252,255,252,255,11,0,233,255,80,0,80,0,233,255,11,0,252,255,252,255,10,0,235,255,70,0,90,0,232,255,11,0,252,255,253,255,9,0,237,255,59,0,100,0,232,255,10,0,252,255,253,255,8,0,240,255,48,0,108,0,233,255,10,0,252,255,254,255,6,0,243,255,37,0,115,0,236,255,9,0,252,255,254,255,5,0,246,255,27,0,121,0,239,255,7,0,253,255,255,255,3,0,250,255,17,0,125,0,243,255,5,0,254,255,0,0,1,0,253,255,8,0,127,0,249,255,3,0,255,255,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,104,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,88,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,80,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,56,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,48,0,80,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,88,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,104,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,120,0,0,0,0,0,0,0,0,7,6,6,5,5,5,5,4,4,4,4,4,4,4,4,3,3,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3,0,18,0,25,0,32,0,11,0,4,0,26,0,33,0,19,0,40,0,12,0,34,0,27,0,5,0,41,0,20,0,48,0,13,0,35,0,42,0,28,0,21,0,6,0,49,0,56,0,36,0,43,0,29,0,7,0,14,0,50,0,57,0,44,0,22,0,37,0,15,0,51,0,58,0,30,0,45,0,23,0,52,0,59,0,38,0,31,0,60,0,53,0,46,0,39,0,61,0,54,0,47,0,62,0,55,0,63,0,0,0,2,0,5,0,9,0,14,0,22,0,31,0,37,0,1,0,4,0,8,0,13,0,19,0,26,0,38,0,44,0,3,0,6,0,10,0,17,0,24,0,30,0,42,0,49,0,7,0,11,0,15,0,21,0,29,0,36,0,47,0,53,0,12,0,16,0,20,0,27,0,34,0,43,0,52,0,57,0,18,0,23,0,28,0,35,0,41,0,48,0,56,0,60,0,25,0,32,0,39,0,45,0,50,0,55,0,59,0,62,0,33,0,40,0,46,0,51,0,54,0,58,0,61,0,63,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,8,0,1,0,8,0,1,0,1,0,9,0,16,0,16,0,16,0,2,0,9,0,2,0,2,0,10,0,17,0,17,0,24,0,24,0,24,0,3,0,10,0,3,0,3,0,18,0,25,0,25,0,32,0,11,0,18,0,32,0,32,0,4,0,11,0,26,0,33,0,19,0,26,0,4,0,4,0,33,0,40,0,12,0,19,0,40,0,40,0,5,0,12,0,27,0,34,0,34,0,41,0,20,0,27,0,13,0,20,0,5,0,5,0,41,0,48,0,48,0,48,0,28,0,35,0,35,0,42,0,21,0,28,0,6,0,6,0,6,0,13,0,42,0,49,0,49,0,56,0,36,0,43,0,14,0,21,0,29,0,36,0,7,0,14,0,43,0,50,0,50,0,57,0,22,0,29,0,37,0,44,0,15,0,22,0,44,0,51,0,51,0,58,0,30,0,37,0,23,0,30,0,52,0,59,0,45,0,52,0,38,0,45,0,31,0,38,0,53,0,60,0,46,0,53,0,39,0,46,0,54,0,61,0,47,0,54,0,55,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,1,0,32,0,17,0,2,0,48,0,33,0,18,0,3,0,64,0,34,0,49,0,19,0,65,0,80,0,50,0,4,0,35,0,66,0,20,0,81,0,96,0,51,0,5,0,36,0,82,0,97,0,67,0,112,0,21,0,52,0,98,0,37,0,83,0,113,0,6,0,68,0,128,0,53,0,22,0,99,0,114,0,84,0,7,0,129,0,38,0,69,0,100,0,115,0,144,0,130,0,85,0,54,0,23,0,8,0,145,0,39,0,70,0,116,0,101,0,131,0,160,0,146,0,55,0,86,0,24,0,71,0,132,0,117,0,161,0,40,0,9,0,102,0,147,0,176,0,162,0,87,0,56,0,25,0,133,0,118,0,177,0,148,0,72,0,103,0,41,0,163,0,10,0,192,0,178,0,88,0,57,0,134,0,149,0,119,0,26,0,164,0,73,0,104,0,193,0,42,0,179,0,208,0,11,0,135,0,89,0,165,0,120,0,150,0,58,0,194,0,180,0,27,0,74,0,209,0,105,0,151,0,136,0,43,0,90,0,224,0,166,0,195,0,181,0,121,0,210,0,59,0,12,0,152,0,106,0,167,0,196,0,75,0,137,0,225,0,211,0,240,0,182,0,122,0,91,0,28,0,197,0,13,0,226,0,168,0,183,0,153,0,44,0,212,0,138,0,107,0,241,0,60,0,29,0,123,0,198,0,184,0,227,0,169,0,242,0,76,0,213,0,154,0,45,0,92,0,14,0,199,0,139,0,61,0,228,0,214,0,170,0,185,0,243,0,108,0,77,0,155,0,30,0,15,0,200,0,229,0,124,0,215,0,244,0,93,0,46,0,186,0,171,0,201,0,109,0,140,0,230,0,62,0,216,0,245,0,31,0,125,0,78,0,156,0,231,0,47,0,187,0,202,0,217,0,94,0,246,0,141,0,63,0,232,0,172,0,110,0,247,0,157,0,79,0,218,0,203,0,126,0,233,0,188,0,248,0,95,0,173,0,142,0,219,0,111,0,249,0,234,0,158,0,127,0,189,0,204,0,250,0,235,0,143,0,174,0,220,0,205,0,159,0,251,0,190,0,221,0,175,0,236,0,237,0,191,0,206,0,252,0,222,0,253,0,207,0,238,0,223,0,254,0,239,0,255,0,0,0,2,0,5,0,9,0,17,0,24,0,36,0,44,0,55,0,72,0,88,0,104,0,128,0,143,0,166,0,179,0,1,0,4,0,8,0,13,0,20,0,30,0,40,0,54,0,66,0,79,0,96,0,113,0,141,0,154,0,178,0,196,0,3,0,7,0,11,0,18,0,25,0,33,0,46,0,57,0,71,0,86,0,101,0,119,0,148,0,164,0,186,0,201,0,6,0,12,0,16,0,23,0,31,0,39,0,53,0,64,0,78,0,92,0,110,0,127,0,153,0,169,0,193,0,208,0,10,0,14,0,19,0,28,0,37,0,47,0,58,0,67,0,84,0,98,0,114,0,133,0,161,0,176,0,198,0,214,0,15,0,21,0,26,0,34,0,43,0,52,0,65,0,77,0,91,0,106,0,120,0,140,0,165,0,185,0,205,0,221,0,22,0,27,0,32,0,41,0,48,0,60,0,73,0,85,0,99,0,116,0,130,0,151,0,175,0,190,0,211,0,225,0,29,0,35,0,42,0,49,0,59,0,69,0,81,0,95,0,108,0,125,0,139,0,155,0,182,0,197,0,217,0,229,0,38,0,45,0,51,0,61,0,68,0,80,0,93,0,105,0,118,0,134,0,150,0,168,0,191,0,207,0,223,0,234,0,50,0,56,0,63,0,74,0,83,0,94,0,109,0,117,0,129,0,147,0,163,0,177,0,199,0,213,0,228,0,238,0,62,0,70,0,76,0,87,0,97,0,107,0,122,0,131,0,145,0,159,0,172,0,188,0,210,0,222,0,235,0,242,0,75,0,82,0,90,0,102,0,112,0,124,0,138,0,146,0,157,0,173,0,187,0,202,0,219,0,230,0,240,0,245,0,89,0,100,0,111,0,123,0,132,0,142,0,156,0,167,0,180,0,189,0,203,0,216,0,231,0,237,0,246,0,250,0,103,0,115,0,126,0,136,0,149,0,162,0,171,0,183,0,194,0,204,0,215,0,224,0,236,0,241,0,248,0,252,0,121,0,135,0,144,0,158,0,170,0,181,0,192,0,200,0,209,0,218,0,227,0,233,0,243,0,244,0,251,0,254,0,137,0,152,0,160,0,174,0,184,0,195,0,206,0,212,0,220,0,226,0,232,0,239,0,247,0,249,0,253,0,255,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,16,0,1,0,16,0,1,0,1,0,32,0,32,0,17,0,32,0,2,0,17,0,2,0,2,0,48,0,48,0,18,0,33,0,33,0,48,0,3,0,18,0,49,0,64,0,64,0,64,0,34,0,49,0,3,0,3,0,19,0,34,0,50,0,65,0,4,0,19,0,65,0,80,0,80,0,80,0,35,0,50,0,4,0,4,0,20,0,35,0,66,0,81,0,81,0,96,0,51,0,66,0,96,0,96,0,5,0,20,0,36,0,51,0,82,0,97,0,21,0,36,0,67,0,82,0,97,0,112,0,5,0,5,0,52,0,67,0,112,0,112,0,37,0,52,0,6,0,21,0,83,0,98,0,98,0,113,0,68,0,83,0,6,0,6,0,113,0,128,0,22,0,37,0,53,0,68,0,84,0,99,0,99,0,114,0,128,0,128,0,114,0,129,0,69,0,84,0,38,0,53,0,7,0,22,0,7,0,7,0,129,0,144,0,23,0,38,0,54,0,69,0,100,0,115,0,85,0,100,0,115,0,130,0,144,0,144,0,130,0,145,0,39,0,54,0,70,0,85,0,8,0,23,0,55,0,70,0,116,0,131,0,101,0,116,0,145,0,160,0,24,0,39,0,8,0,8,0,86,0,101,0,131,0,146,0,160,0,160,0,146,0,161,0,71,0,86,0,40,0,55,0,9,0,24,0,117,0,132,0,102,0,117,0,161,0,176,0,132,0,147,0,56,0,71,0,87,0,102,0,25,0,40,0,147,0,162,0,9,0,9,0,176,0,176,0,162,0,177,0,72,0,87,0,41,0,56,0,118,0,133,0,133,0,148,0,103,0,118,0,10,0,25,0,148,0,163,0,57,0,72,0,88,0,103,0,177,0,192,0,26,0,41,0,163,0,178,0,192,0,192,0,10,0,10,0,119,0,134,0,73,0,88,0,149,0,164,0,104,0,119,0,134,0,149,0,42,0,57,0,178,0,193,0,164,0,179,0,11,0,26,0,58,0,73,0,193,0,208,0,89,0,104,0,135,0,150,0,120,0,135,0,27,0,42,0,74,0,89,0,208,0,208,0,150,0,165,0,179,0,194,0,165,0,180,0,105,0,120,0,194,0,209,0,43,0,58,0,11,0,11,0,136,0,151,0,90,0,105,0,151,0,166,0,180,0,195,0,59,0,74,0,121,0,136,0,209,0,224,0,195,0,210,0,224,0,224,0,166,0,181,0,106,0,121,0,75,0,90,0,12,0,27,0,181,0,196,0,12,0,12,0,210,0,225,0,152,0,167,0,167,0,182,0,137,0,152,0,28,0,43,0,196,0,211,0,122,0,137,0,91,0,106,0,225,0,240,0,44,0,59,0,13,0,28,0,107,0,122,0,182,0,197,0,168,0,183,0,211,0,226,0,153,0,168,0,226,0,241,0,60,0,75,0,197,0,212,0,138,0,153,0,29,0,44,0,76,0,91,0,13,0,13,0,183,0,198,0,123,0,138,0,45,0,60,0,212,0,227,0,198,0,213,0,154,0,169,0,169,0,184,0,227,0,242,0,92,0,107,0,61,0,76,0,139,0,154,0,14,0,29,0,14,0,14,0,184,0,199,0,213,0,228,0,108,0,123,0,199,0,214,0,228,0,243,0,77,0,92,0,30,0,45,0,170,0,185,0,155,0,170,0,185,0,200,0,93,0,108,0,124,0,139,0,214,0,229,0,46,0,61,0,200,0,215,0,229,0,244,0,15,0,30,0,109,0,124,0,62,0,77,0,140,0,155,0,215,0,230,0,31,0,46,0,171,0,186,0,186,0,201,0,201,0,216,0,78,0,93,0,230,0,245,0,125,0,140,0,47,0,62,0,216,0,231,0,156,0,171,0,94,0,109,0,231,0,246,0,141,0,156,0,63,0,78,0,202,0,217,0,187,0,202,0,110,0,125,0,217,0,232,0,172,0,187,0,232,0,247,0,79,0,94,0,157,0,172,0,126,0,141,0,203,0,218,0,95,0,110,0,233,0,248,0,218,0,233,0,142,0,157,0,111,0,126,0,173,0,188,0,188,0,203,0,234,0,249,0,219,0,234,0,127,0,142,0,158,0,173,0,204,0,219,0,189,0,204,0,143,0,158,0,235,0,250,0,174,0,189,0,205,0,220,0,159,0,174,0,220,0,235,0,221,0,236,0,175,0,190,0,190,0,205,0,236,0,251,0,206,0,221,0,237,0,252,0,191,0,206,0,222,0,237,0,207,0,222,0,238,0,253,0,223,0,238,0,239,0,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,1,0,64,0,33,0,2,0,96,0,65,0,34,0,128,0,3,0,97,0,66,0,160,0,129,0,35,0,98,0,4,0,67,0,130,0,161,0,192,0,36,0,99,0,224,0,5,0,162,0,193,0,68,0,131,0,37,0,100,0,225,0,194,0,0,1,163,0,69,0,132,0,6,0,226,0,1,1,32,1,195,0,101,0,164,0,38,0,2,1,7,0,227,0,33,1,133,0,64,1,70,0,196,0,165,0,34,1,3,1,228,0,39,0,65,1,102,0,96,1,8,0,197,0,71,0,134,0,66,1,35,1,4,1,97,1,128,1,229,0,166,0,103,0,40,0,98,1,67,1,36,1,135,0,129,1,198,0,5,1,72,0,9,0,160,1,167,0,130,1,99,1,230,0,68,1,104,0,37,1,41,0,161,1,199,0,136,0,6,1,131,1,192,1,69,1,100,1,10,0,73,0,162,1,231,0,168,0,193,1,38,1,132,1,105,0,163,1,7,1,42,0,200,0,101,1,194,1,137,0,224,1,74,0,70,1,232,0,11,0,133,1,169,0,39,1,164,1,106,0,195,1,225,1,102,1,8,1,71,1,201,0,43,0,138,0,0,2,226,1,134,1,40,1,233,0,170,0,165,1,75,0,196,1,103,1,12,0,1,2,9,1,227,1,72,1,107,0,202,0,2,2,32,2,166,1,135,1,197,1,139,0,44,0,234,0,228,1,41,1,104,1,171,0,76,0,3,2,33,2,10,1,73,1,198,1,13,0,167,1,203,0,108,0,34,2,229,1,64,2,42,1,235,0,140,0,105,1,74,1,172,0,35,2,45,0,199,1,11,1,65,2,230,1,77,0,204,0,106,1,96,2,14,0,43,1,66,2,109,0,236,0,231,1,97,2,75,1,141,0,67,2,46,0,15,0,173,0,98,2,107,1,78,0,205,0,16,0,110,0,237,0,99,2,142,0,47,0,174,0,79,0,206,0,17,0,111,0,238,0,48,0,143,0,80,0,175,0,112,0,207,0,49,0,18,0,239,0,81,0,113,0,19,0,50,0,82,0,114,0,51,0,83,0,115,0,128,2,4,2,136,1,12,1,144,0,20,0,160,2,129,2,36,2,5,2,168,1,137,1,44,1,13,1,176,0,145,0,52,0,21,0,192,2,161,2,130,2,68,2,37,2,6,2,200,1,169,1,138,1,76,1,45,1,14,1,208,0,177,0,146,0,84,0,53,0,22,0,224,2,193,2,162,2,131,2,100,2,69,2,38,2,7,2,232,1,201,1,170,1,139,1,108,1,77,1,46,1,15,1,240,0,209,0,178,0,147,0,116,0,85,0,54,0,23,0,225,2,194,2,163,2,101,2,70,2,39,2,233,1,202,1,171,1,109,1,78,1,47,1,241,0,210,0,179,0,117,0,86,0,55,0,226,2,195,2,102,2,71,2,234,1,203,1,110,1,79,1,242,0,211,0,118,0,87,0,227,2,103,2,235,1,111,1,243,0,119,0,0,3,132,2,8,2,140,1,16,1,148,0,24,0,32,3,1,3,164,2,133,2,40,2,9,2,172,1,141,1,48,1,17,1,180,0,149,0,56,0,25,0,64,3,33,3,2,3,196,2,165,2,134,2,72,2,41,2,10,2,204,1,173,1,142,1,80,1,49,1,18,1,212,0,181,0,150,0,88,0,57,0,26,0,96,3,65,3,34,3,3,3,228,2,197,2,166,2,135,2,104,2,73,2,42,2,11,2,236,1,205,1,174,1,143,1,112,1,81,1,50,1,19,1,244,0,213,0,182,0,151,0,120,0,89,0,58,0,27,0,97,3,66,3,35,3,229,2,198,2,167,2,105,2,74,2,43,2,237,1,206,1,175,1,113,1,82,1,51,1,245,0,214,0,183,0,121,0,90,0,59,0,98,3,67,3,230,2,199,2,106,2,75,2,238,1,207,1,114,1,83,1,246,0,215,0,122,0,91,0,99,3,231,2,107,2,239,1,115,1,247,0,123,0,128,3,4,3,136,2,12,2,144,1,20,1,152,0,28,0,160,3,129,3,36,3,5,3,168,2,137,2,44,2,13,2,176,1,145,1,52,1,21,1,184,0,153,0,60,0,29,0,192,3,161,3,130,3,68,3,37,3,6,3,200,2,169,2,138,2,76,2,45,2,14,2,208,1,177,1,146,1,84,1,53,1,22,1,216,0,185,0,154,0,92,0,61,0,30,0,224,3,193,3,162,3,131,3,100,3,69,3,38,3,7,3,232,2,201,2,170,2,139,2,108,2,77,2,46,2,15,2,240,1,209,1,178,1,147,1,116,1,85,1,54,1,23,1,248,0,217,0,186,0,155,0,124,0,93,0,62,0,31,0,225,3,194,3,163,3,101,3,70,3,39,3,233,2,202,2,171,2,109,2,78,2,47,2,241,1,210,1,179,1,117,1,86,1,55,1,249,0,218,0,187,0,125,0,94,0,63,0,226,3,195,3,102,3,71,3,234,2,203,2,110,2,79,2,242,1,211,1,118,1,87,1,250,0,219,0,126,0,95,0,227,3,103,3,235,2,111,2,243,1,119,1,251,0,127,0,132,3,8,3,140,2,16,2,148,1,24,1,156,0,164,3,133,3,40,3,9,3,172,2,141,2,48,2,17,2,180,1,149,1,56,1,25,1,188,0,157,0,196,3,165,3,134,3,72,3,41,3,10,3,204,2,173,2,142,2,80,2,49,2,18,2,212,1,181,1,150,1,88,1,57,1,26,1,220,0,189,0,158,0,228,3,197,3,166,3,135,3,104,3,73,3,42,3,11,3,236,2,205,2,174,2,143,2,112,2,81,2,50,2,19,2,244,1,213,1,182,1,151,1,120,1,89,1,58,1,27,1,252,0,221,0,190,0,159,0,229,3,198,3,167,3,105,3,74,3,43,3,237,2,206,2,175,2,113,2,82,2,51,2,245,1,214,1,183,1,121,1,90,1,59,1,253,0,222,0,191,0,230,3,199,3,106,3,75,3,238,2,207,2,114,2,83,2,246,1,215,1,122,1,91,1,254,0,223,0,231,3,107,3,239,2,115,2,247,1,123,1,255,0,136,3,12,3,144,2,20,2,152,1,28,1,168,3,137,3,44,3,13,3,176,2,145,2,52,2,21,2,184,1,153,1,60,1,29,1,200,3,169,3,138,3,76,3,45,3,14,3,208,2,177,2,146,2,84,2,53,2,22,2,216,1,185,1,154,1,92,1,61,1,30,1,232,3,201,3,170,3,139,3,108,3,77,3,46,3,15,3,240,2,209,2,178,2,147,2,116,2,85,2,54,2,23,2,248,1,217,1,186,1,155,1,124,1,93,1,62,1,31,1,233,3,202,3,171,3,109,3,78,3,47,3,241,2,210,2,179,2,117,2,86,2,55,2,249,1,218,1,187,1,125,1,94,1,63,1,234,3,203,3,110,3,79,3,242,2,211,2,118,2,87,2,250,1,219,1,126,1,95,1,235,3,111,3,243,2,119,2,251,1,127,1,140,3,16,3,148,2,24,2,156,1,172,3,141,3,48,3,17,3,180,2,149,2,56,2,25,2,188,1,157,1,204,3,173,3,142,3,80,3,49,3,18,3,212,2,181,2,150,2,88,2,57,2,26,2,220,1,189,1,158,1,236,3,205,3,174,3,143,3,112,3,81,3,50,3,19,3,244,2,213,2,182,2,151,2,120,2,89,2,58,2,27,2,252,1,221,1,190,1,159,1,237,3,206,3,175,3,113,3,82,3,51,3,245,2,214,2,183,2,121,2,90,2,59,2,253,1,222,1,191,1,238,3,207,3,114,3,83,3,246,2,215,2,122,2,91,2,254,1,223,1,239,3,115,3,247,2,123,2,255,1,144,3,20,3,152,2,28,2,176,3,145,3,52,3,21,3,184,2,153,2,60,2,29,2,208,3,177,3,146,3,84,3,53,3,22,3,216,2,185,2,154,2,92,2,61,2,30,2,240,3,209,3,178,3,147,3,116,3,85,3,54,3,23,3,248,2,217,2,186,2,155,2,124,2,93,2,62,2,31,2,241,3,210,3,179,3,117,3,86,3,55,3,249,2,218,2,187,2,125,2,94,2,63,2,242,3,211,3,118,3,87,3,250,2,219,2,126,2,95,2,243,3,119,3,251,2,127,2,148,3,24,3,156,2,180,3,149,3,56,3,25,3,188,2,157,2,212,3,181,3,150,3,88,3,57,3,26,3,220,2,189,2,158,2,244,3,213,3,182,3,151,3,120,3,89,3,58,3,27,3,252,2,221,2,190,2,159,2,245,3,214,3,183,3,121,3,90,3,59,3,253,2,222,2,191,2,246,3,215,3,122,3,91,3,254,2,223,2,247,3,123,3,255,2,152,3,28,3,184,3,153,3,60,3,29,3,216,3,185,3,154,3,92,3,61,3,30,3,248,3,217,3,186,3,155,3,124,3,93,3,62,3,31,3,249,3,218,3,187,3,125,3,94,3,63,3,250,3,219,3,126,3,95,3,251,3,127,3,156,3,188,3,157,3,220,3,189,3,158,3,252,3,221,3,190,3,159,3,253,3,222,3,191,3,254,3,223,3,255,3,0,0,2,0,5,0,10,0,17,0,25,0,38,0,47,0,62,0,83,0,101,0,121,0,145,0,170,0,193,0,204,0,210,0,219,0,229,0,233,0,245,0,1,1,19,1,43,1,86,1,100,1,121,1,149,1,199,1,215,1,239,1,15,2,1,0,4,0,8,0,15,0,22,0,30,0,45,0,58,0,74,0,92,0,112,0,133,0,158,0,184,0,203,0,215,0,222,0,228,0,234,0,237,0,0,1,18,1,42,1,61,1,99,1,120,1,148,1,170,1,214,1,238,1,14,2,39,2,3,0,7,0,12,0,18,0,28,0,36,0,52,0,64,0,82,0,102,0,118,0,142,0,164,0,189,0,208,0,217,0,224,0,231,0,235,0,238,0,17,1,41,1,60,1,73,1,119,1,147,1,169,1,184,1,237,1,13,2,38,2,55,2,6,0,11,0,16,0,23,0,31,0,43,0,60,0,73,0,90,0,109,0,126,0,150,0,173,0,196,0,211,0,220,0,226,0,232,0,236,0,239,0,40,1,59,1,72,1,79,1,146,1,168,1,183,1,191,1,12,2,37,2,54,2,63,2,9,0,14,0,19,0,29,0,37,0,50,0,65,0,78,0,95,0,116,0,134,0,157,0,179,0,201,0,214,0,223,0,244,0,255,0,16,1,39,1,85,1,98,1,118,1,145,1,198,1,213,1,236,1,11,2,70,2,84,2,105,2,133,2,13,0,20,0,26,0,35,0,44,0,54,0,72,0,85,0,105,0,123,0,140,0,163,0,182,0,205,0,216,0,225,0,254,0,15,1,38,1,58,1,97,1,117,1,144,1,167,1,212,1,235,1,10,2,36,2,83,2,104,2,132,2,154,2,21,0,27,0,33,0,42,0,53,0,63,0,80,0,94,0,113,0,132,0,151,0,172,0,190,0,209,0,218,0,227,0,14,1,37,1,57,1,71,1,116,1,143,1,166,1,182,1,234,1,9,2,35,2,53,2,103,2,131,2,153,2,168,2,24,0,32,0,39,0,48,0,57,0,71,0,88,0,104,0,120,0,139,0,159,0,178,0,197,0,212,0,221,0,230,0,36,1,56,1,70,1,78,1,142,1,165,1,181,1,190,1,8,2,34,2,52,2,62,2,130,2,152,2,167,2,175,2,34,0,40,0,46,0,56,0,68,0,81,0,96,0,111,0,130,0,147,0,167,0,186,0,243,0,253,0,13,1,35,1,84,1,96,1,115,1,141,1,197,1,211,1,233,1,7,2,69,2,82,2,102,2,129,2,181,2,193,2,211,2,235,2,41,0,49,0,55,0,67,0,77,0,91,0,107,0,124,0,138,0,161,0,177,0,194,0,252,0,12,1,34,1,55,1,95,1,114,1,140,1,164,1,210,1,232,1,6,2,33,2,81,2,101,2,128,2,151,2,192,2,210,2,234,2,253,2,51,0,59,0,66,0,76,0,89,0,99,0,119,0,131,0,149,0,168,0,181,0,200,0,11,1,33,1,54,1,69,1,113,1,139,1,163,1,180,1,231,1,5,2,32,2,51,2,100,2,127,2,150,2,166,2,209,2,233,2,252,2,9,3,61,0,69,0,75,0,87,0,100,0,114,0,129,0,144,0,162,0,180,0,191,0,207,0,32,1,53,1,68,1,77,1,138,1,162,1,179,1,189,1,4,2,31,2,50,2,61,2,126,2,149,2,165,2,174,2,232,2,251,2,8,3,15,3,70,0,79,0,86,0,97,0,108,0,122,0,137,0,155,0,242,0,251,0,10,1,31,1,83,1,94,1,112,1,137,1,196,1,209,1,230,1,3,2,68,2,80,2,99,2,125,2,180,2,191,2,208,2,231,2,20,3,30,3,45,3,65,3,84,0,93,0,103,0,110,0,125,0,141,0,154,0,171,0,250,0,9,1,30,1,52,1,93,1,111,1,136,1,161,1,208,1,229,1,2,2,30,2,79,2,98,2,124,2,148,2,190,2,207,2,230,2,250,2,29,3,44,3,64,3,80,3,98,0,106,0,115,0,127,0,143,0,156,0,169,0,185,0,8,1,29,1,51,1,67,1,110,1,135,1,160,1,178,1,228,1,1,2,29,2,49,2,97,2,123,2,147,2,164,2,206,2,229,2,249,2,7,3,43,3,63,3,79,3,90,3,117,0,128,0,136,0,148,0,160,0,175,0,188,0,198,0,28,1,50,1,66,1,76,1,134,1,159,1,177,1,188,1,0,2,28,2,48,2,60,2,122,2,146,2,163,2,173,2,228,2,248,2,6,3,14,3,62,3,78,3,89,3,95,3,135,0,146,0,152,0,165,0,241,0,249,0,7,1,27,1,82,1,92,1,109,1,133,1,195,1,207,1,227,1,255,1,67,2,78,2,96,2,121,2,179,2,189,2,205,2,227,2,19,3,28,3,42,3,61,3,99,3,107,3,119,3,135,3,153,0,166,0,174,0,183,0,248,0,6,1,26,1,49,1,91,1,108,1,132,1,158,1,206,1,226,1,254,1,27,2,77,2,95,2,120,2,145,2,188,2,204,2,226,2,247,2,27,3,41,3,60,3,77,3,106,3,118,3,134,3,147,3,176,0,187,0,195,0,202,0,5,1,25,1,48,1,65,1,107,1,131,1,157,1,176,1,225,1,253,1,26,2,47,2,94,2,119,2,144,2,162,2,203,2,225,2,246,2,5,3,40,3,59,3,76,3,88,3,117,3,133,3,146,3,155,3,192,0,199,0,206,0,213,0,24,1,47,1,64,1,75,1,130,1,156,1,175,1,187,1,252,1,25,2,46,2,59,2,118,2,143,2,161,2,172,2,224,2,245,2,4,3,13,3,58,3,75,3,87,3,94,3,132,3,145,3,154,3,159,3,240,0,247,0,4,1,23,1,81,1,90,1,106,1,129,1,194,1,205,1,224,1,251,1,66,2,76,2,93,2,117,2,178,2,187,2,202,2,223,2,18,3,26,3,39,3,57,3,98,3,105,3,116,3,131,3,162,3,168,3,177,3,189,3,246,0,3,1,22,1,46,1,89,1,105,1,128,1,155,1,204,1,223,1,250,1,24,2,75,2,92,2,116,2,142,2,186,2,201,2,222,2,244,2,25,3,38,3,56,3,74,3,104,3,115,3,130,3,144,3,167,3,176,3,188,3,198,3,2,1,21,1,45,1,63,1,104,1,127,1,154,1,174,1,222,1,249,1,23,2,45,2,91,2,115,2,141,2,160,2,200,2,221,2,243,2,3,3,37,3,55,3,73,3,86,3,114,3,129,3,143,3,153,3,175,3,187,3,197,3,204,3,20,1,44,1,62,1,74,1,126,1,153,1,173,1,186,1,248,1,22,2,44,2,58,2,114,2,140,2,159,2,171,2,220,2,242,2,2,3,12,3,54,3,72,3,85,3,93,3,128,3,142,3,152,3,158,3,186,3,196,3,203,3,207,3,80,1,88,1,103,1,125,1,193,1,203,1,221,1,247,1,65,2,74,2,90,2,113,2,177,2,185,2,199,2,219,2,17,3,24,3,36,3,53,3,97,3,103,3,113,3,127,3,161,3,166,3,174,3,185,3,209,3,213,3,219,3,227,3,87,1,102,1,124,1,152,1,202,1,220,1,246,1,21,2,73,2,89,2,112,2,139,2,184,2,198,2,218,2,241,2,23,3,35,3,52,3,71,3,102,3,112,3,126,3,141,3,165,3,173,3,184,3,195,3,212,3,218,3,226,3,233,3,101,1,123,1,151,1,172,1,219,1,245,1,20,2,43,2,88,2,111,2,138,2,158,2,197,2,217,2,240,2,1,3,34,3,51,3,70,3,84,3,111,3,125,3,140,3,151,3,172,3,183,3,194,3,202,3,217,3,225,3,232,3,237,3,122,1,150,1,171,1,185,1,244,1,19,2,42,2,57,2,110,2,137,2,157,2,170,2,216,2,239,2,0,3,11,3,50,3,69,3,83,3,92,3,124,3,139,3,150,3,157,3,182,3,193,3,201,3,206,3,224,3,231,3,236,3,239,3,192,1,201,1,218,1,243,1,64,2,72,2,87,2,109,2,176,2,183,2,196,2,215,2,16,3,22,3,33,3,49,3,96,3,101,3,110,3,123,3,160,3,164,3,171,3,181,3,208,3,211,3,216,3,223,3,240,3,242,3,245,3,249,3,200,1,217,1,242,1,18,2,71,2,86,2,108,2,136,2,182,2,195,2,214,2,238,2,21,3,32,3,48,3,68,3,100,3,109,3,122,3,138,3,163,3,170,3,180,3,192,3,210,3,215,3,222,3,230,3,241,3,244,3,248,3,252,3,216,1,241,1,17,2,41,2,85,2,107,2,135,2,156,2,194,2,213,2,237,2,255,2,31,3,47,3,67,3,82,3,108,3,121,3,137,3,149,3,169,3,179,3,191,3,200,3,214,3,221,3,229,3,235,3,243,3,247,3,251,3,254,3,240,1,16,2,40,2,56,2,106,2,134,2,155,2,169,2,212,2,236,2,254,2,10,3,46,3,66,3,81,3,91,3,120,3,136,3,148,3,156,3,178,3,190,3,199,3,205,3,220,3,228,3,234,3,238,3,246,3,250,3,253,3,255,3,0,0,0,0,0,0,0,0,0,0,0,0,32,0,32,0,1,0,32,0,1,0,1,0,64,0,64,0,33,0,64,0,2,0,33,0,96,0,96,0,2,0,2,0,65,0,96,0,34,0,65,0,128,0,128,0,97,0,128,0,3,0,34,0,66,0,97,0,3,0,3,0,35,0,66,0,98,0,129,0,129,0,160,0,160,0,160,0,4,0,35,0,67,0,98,0,192,0,192,0,4,0,4,0,130,0,161,0,161,0,192,0,36,0,67,0,99,0,130,0,5,0,36,0,68,0,99,0,193,0,224,0,162,0,193,0,224,0,224,0,131,0,162,0,37,0,68,0,100,0,131,0,5,0,5,0,194,0,225,0,225,0,0,1,0,1,0,1,163,0,194,0,69,0,100,0,132,0,163,0,6,0,37,0,226,0,1,1,6,0,6,0,195,0,226,0,1,1,32,1,101,0,132,0,32,1,32,1,38,0,69,0,164,0,195,0,133,0,164,0,2,1,33,1,227,0,2,1,196,0,227,0,7,0,38,0,33,1,64,1,70,0,101,0,64,1,64,1,7,0,7,0,165,0,196,0,39,0,70,0,102,0,133,0,34,1,65,1,3,1,34,1,228,0,3,1,65,1,96,1,96,1,96,1,197,0,228,0,134,0,165,0,71,0,102,0,8,0,39,0,66,1,97,1,35,1,66,1,4,1,35,1,103,0,134,0,97,1,128,1,166,0,197,0,229,0,4,1,40,0,71,0,8,0,8,0,128,1,128,1,135,0,166,0,98,1,129,1,67,1,98,1,198,0,229,0,36,1,67,1,72,0,103,0,5,1,36,1,9,0,40,0,129,1,160,1,167,0,198,0,104,0,135,0,230,0,5,1,99,1,130,1,160,1,160,1,37,1,68,1,68,1,99,1,9,0,9,0,41,0,72,0,130,1,161,1,199,0,230,0,136,0,167,0,161,1,192,1,6,1,37,1,100,1,131,1,73,0,104,0,131,1,162,1,231,0,6,1,10,0,41,0,168,0,199,0,69,1,100,1,162,1,193,1,105,0,136,0,192,1,192,1,42,0,73,0,38,1,69,1,200,0,231,0,10,0,10,0,101,1,132,1,137,0,168,0,7,1,38,1,132,1,163,1,74,0,105,0,163,1,194,1,193,1,224,1,70,1,101,1,232,0,7,1,39,1,70,1,169,0,200,0,11,0,42,0,106,0,137,0,224,1,224,1,194,1,225,1,102,1,133,1,8,1,39,1,201,0,232,0,138,0,169,0,133,1,164,1,43,0,74,0,164,1,195,1,71,1,102,1,11,0,11,0,225,1,0,2,233,0,8,1,195,1,226,1,40,1,71,1,75,0,106,0,170,0,201,0,226,1,1,2,0,2,0,2,134,1,165,1,103,1,134,1,165,1,196,1,107,0,138,0,12,0,43,0,202,0,233,0,196,1,227,1,9,1,40,1,72,1,103,1,139,0,170,0,44,0,75,0,227,1,2,2,1,2,32,2,234,0,9,1,41,1,72,1,166,1,197,1,12,0,12,0,135,1,166,1,171,0,202,0,76,0,107,0,2,2,33,2,197,1,228,1,32,2,32,2,10,1,41,1,203,0,234,0,108,0,139,0,73,1,104,1,42,1,73,1,140,0,171,0,3,2,34,2,13,0,44,0,167,1,198,1],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([235,0,10,1,33,2,64,2,198,1,229,1,45,0,76,0,172,0,203,0,74,1,105,1,64,2,64,2,13,0,13,0,11,1,42,1,34,2,65,2,77,0,108,0,204,0,235,0,199,1,230,1,65,2,96,2,43,1,74,1,109,0,140,0,35,2,66,2,14,0,45,0,14,0,14,0,141,0,172,0,66,2,97,2,75,1,106,1,46,0,77,0,173,0,204,0,15,0,15,0,78,0,109,0,205,0,236,0,67,2,98,2,110,0,141,0,15,0,46,0,142,0,173,0,47,0,78,0,174,0,205,0,16,0,16,0,79,0,110,0,206,0,237,0,16,0,47,0,111,0,142,0,48,0,79,0,143,0,174,0,80,0,111,0,175,0,206,0,17,0,48,0,17,0,17,0,207,0,238,0,49,0,80,0,81,0,112,0,18,0,18,0,18,0,49,0,50,0,81,0,82,0,113,0,19,0,50,0,51,0,82,0,83,0,114,0,96,2,96,2,228,1,3,2,104,1,135,1,236,0,11,1,112,0,143,0,19,0,19,0,128,2,128,2,97,2,128,2,4,2,35,2,229,1,4,2,136,1,167,1,105,1,136,1,12,1,43,1,237,0,12,1,144,0,175,0,113,0,144,0,20,0,51,0,20,0,20,0,160,2,160,2,129,2,160,2,98,2,129,2,36,2,67,2,5,2,36,2,230,1,5,2,168,1,199,1,137,1,168,1,106,1,137,1,44,1,75,1,13,1,44,1,238,0,13,1,176,0,207,0,145,0,176,0,114,0,145,0,52,0,83,0,21,0,52,0,21,0,21,0,192,2,192,2,161,2,192,2,130,2,161,2,99,2,130,2,68,2,99,2,37,2,68,2,6,2,37,2,231,1,6,2,200,1,231,1,169,1,200,1,138,1,169,1,107,1,138,1,76,1,107,1,45,1,76,1,14,1,45,1,239,0,14,1,208,0,239,0,177,0,208,0,146,0,177,0,115,0,146,0,84,0,115,0,53,0,84,0,22,0,53,0,22,0,22,0,193,2,224,2,162,2,193,2,131,2,162,2,69,2,100,2,38,2,69,2,7,2,38,2,201,1,232,1,170,1,201,1,139,1,170,1,77,1,108,1,46,1,77,1,15,1,46,1,209,0,240,0,178,0,209,0,147,0,178,0,85,0,116,0,54,0,85,0,23,0,54,0,194,2,225,2,163,2,194,2,70,2,101,2,39,2,70,2,202,1,233,1,171,1,202,1,78,1,109,1,47,1,78,1,210,0,241,0,179,0,210,0,86,0,117,0,55,0,86,0,195,2,226,2,71,2,102,2,203,1,234,1,79,1,110,1,211,0,242,0,87,0,118,0,224,2,224,2,100,2,131,2,232,1,7,2,108,1,139,1,240,0,15,1,116,0,147,0,23,0,23,0,0,3,0,3,225,2,0,3,132,2,163,2,101,2,132,2,8,2,39,2,233,1,8,2,140,1,171,1,109,1,140,1,16,1,47,1,241,0,16,1,148,0,179,0,117,0,148,0,24,0,55,0,24,0,24,0,32,3,32,3,1,3,32,3,226,2,1,3,164,2,195,2,133,2,164,2,102,2,133,2,40,2,71,2,9,2,40,2,234,1,9,2,172,1,203,1,141,1,172,1,110,1,141,1,48,1,79,1,17,1,48,1,242,0,17,1,180,0,211,0,149,0,180,0,118,0,149,0,56,0,87,0,25,0,56,0,25,0,25,0,64,3,64,3,33,3,64,3,2,3,33,3,227,2,2,3,196,2,227,2,165,2,196,2,134,2,165,2,103,2,134,2,72,2,103,2,41,2,72,2,10,2,41,2,235,1,10,2,204,1,235,1,173,1,204,1,142,1,173,1,111,1,142,1,80,1,111,1,49,1,80,1,18,1,49,1,243,0,18,1,212,0,243,0,181,0,212,0,150,0,181,0,119,0,150,0,88,0,119,0,57,0,88,0,26,0,57,0,26,0,26,0,65,3,96,3,34,3,65,3,3,3,34,3,197,2,228,2,166,2,197,2,135,2,166,2,73,2,104,2,42,2,73,2,11,2,42,2,205,1,236,1,174,1,205,1,143,1,174,1,81,1,112,1,50,1,81,1,19,1,50,1,213,0,244,0,182,0,213,0,151,0,182,0,89,0,120,0,58,0,89,0,27,0,58,0,66,3,97,3,35,3,66,3,198,2,229,2,167,2,198,2,74,2,105,2,43,2,74,2,206,1,237,1,175,1,206,1,82,1,113,1,51,1,82,1,214,0,245,0,183,0,214,0,90,0,121,0,59,0,90,0,67,3,98,3,199,2,230,2,75,2,106,2,207,1,238,1,83,1,114,1,215,0,246,0,91,0,122,0,96,3,96,3,228,2,3,3,104,2,135,2,236,1,11,2,112,1,143,1,244,0,19,1,120,0,151,0,27,0,27,0,128,3,128,3,97,3,128,3,4,3,35,3,229,2,4,3,136,2,167,2,105,2,136,2,12,2,43,2,237,1,12,2,144,1,175,1,113,1,144,1,20,1,51,1,245,0,20,1,152,0,183,0,121,0,152,0,28,0,59,0,28,0,28,0,160,3,160,3,129,3,160,3,98,3,129,3,36,3,67,3,5,3,36,3,230,2,5,3,168,2,199,2,137,2,168,2,106,2,137,2,44,2,75,2,13,2,44,2,238,1,13,2,176,1,207,1,145,1,176,1,114,1,145,1,52,1,83,1,21,1,52,1,246,0,21,1,184,0,215,0,153,0,184,0,122,0,153,0,60,0,91,0,29,0,60,0,29,0,29,0,192,3,192,3,161,3,192,3,130,3,161,3,99,3,130,3,68,3,99,3,37,3,68,3,6,3,37,3,231,2,6,3,200,2,231,2,169,2,200,2,138,2,169,2,107,2,138,2,76,2,107,2,45,2,76,2,14,2,45,2,239,1,14,2,208,1,239,1,177,1,208,1,146,1,177,1,115,1,146,1,84,1,115,1,53,1,84,1,22,1,53,1,247,0,22,1,216,0,247,0,185,0,216,0,154,0,185,0,123,0,154,0,92,0,123,0,61,0,92,0,30,0,61,0,30,0,30,0,193,3,224,3,162,3,193,3,131,3,162,3,69,3,100,3,38,3,69,3,7,3,38,3,201,2,232,2,170,2,201,2,139,2,170,2,77,2,108,2,46,2,77,2,15,2,46,2,209,1,240,1,178,1,209,1,147,1,178,1,85,1,116,1,54,1,85,1,23,1,54,1,217,0,248,0,186,0,217,0,155,0,186,0,93,0,124,0,62,0,93,0,31,0,62,0,194,3,225,3,163,3,194,3,70,3,101,3,39,3,70,3,202,2,233,2,171,2,202,2,78,2,109,2,47,2,78,2,210,1,241,1,179,1,210,1,86,1,117,1,55,1,86,1,218,0,249,0,187,0,218,0,94,0,125,0,63,0,94,0,195,3,226,3,71,3,102,3,203,2,234,2,79,2,110,2,211,1,242,1,87,1,118,1,219,0,250,0,95,0,126,0,100,3,131,3,232,2,7,3,108,2,139,2,240,1,15,2,116,1,147,1,248,0,23,1,124,0,155,0,132,3,163,3,101,3,132,3,8,3,39,3,233,2,8,3,140,2,171,2,109,2,140,2,16,2,47,2,241,1,16,2,148,1,179,1,117,1,148,1,24,1,55,1,249,0,24,1,156,0,187,0,125,0,156,0,164,3,195,3,133,3,164,3,102,3,133,3,40,3,71,3,9,3,40,3,234,2,9,3,172,2,203,2,141,2,172,2,110,2,141,2,48,2,79,2,17,2,48,2,242,1,17,2,180,1,211,1,149,1,180,1,118,1,149,1,56,1,87,1,25,1,56,1,250,0,25,1,188,0,219,0,157,0,188,0,126,0,157,0,196,3,227,3,165,3,196,3,134,3,165,3,103,3,134,3,72,3,103,3,41,3,72,3,10,3,41,3,235,2,10,3,204,2,235,2,173,2,204,2,142,2,173,2,111,2,142,2,80,2,111,2,49,2,80,2,18,2,49,2,243,1,18,2,212,1,243,1,181,1,212,1,150,1,181,1,119,1,150,1,88,1,119,1,57,1,88,1,26,1,57,1,251,0,26,1,220,0,251,0,189,0,220,0,158,0,189,0,127,0,158,0,197,3,228,3,166,3,197,3,135,3,166,3,73,3,104,3,42,3,73,3,11,3,42,3,205,2,236,2,174,2,205,2,143,2,174,2,81,2,112,2,50,2,81,2,19,2,50,2,213,1,244,1,182,1,213,1,151,1,182,1,89,1,120,1,58,1,89,1,27,1,58,1,221,0,252,0,190,0,221,0,159,0,190,0,198,3,229,3,167,3,198,3,74,3,105,3,43,3,74,3,206,2,237,2,175,2,206,2,82,2,113,2,51,2,82,2,214,1,245,1,183,1,214,1,90,1,121,1,59,1,90,1,222,0,253,0,191,0,222,0,199,3,230,3,75,3,106,3,207,2,238,2,83,2,114,2,215,1,246,1,91,1,122,1,223,0,254,0,104,3,135,3,236,2,11,3,112,2,143,2,244,1,19,2,120,1,151,1,252,0,27,1,136,3,167,3,105,3,136,3,12,3,43,3,237,2,12,3,144,2,175,2,113,2,144,2,20,2,51,2,245,1,20,2,152,1,183,1,121,1,152,1,28,1,59,1,253,0,28,1,168,3,199,3,137,3,168,3,106,3,137,3,44,3,75,3,13,3,44,3,238,2,13,3,176,2,207,2,145,2,176,2,114,2,145,2,52,2,83,2,21,2,52,2,246,1,21,2,184,1,215,1,153,1,184,1,122,1,153,1,60,1,91,1,29,1,60,1,254,0,29,1,200,3,231,3,169,3,200,3,138,3,169,3,107,3,138,3,76,3,107,3,45,3,76,3,14,3,45,3,239,2,14,3,208,2,239,2,177,2,208,2,146,2,177,2,115,2,146,2,84,2,115,2,53,2,84,2,22,2,53,2,247,1,22,2,216,1,247,1,185,1,216,1,154,1,185,1,123,1,154,1,92,1,123,1,61,1,92,1,30,1,61,1,255,0,30,1,201,3,232,3,170,3,201,3,139,3,170,3,77,3,108,3,46,3,77,3,15,3,46,3,209,2,240,2,178,2,209,2,147,2,178,2,85,2,116,2,54,2,85,2,23,2,54,2,217,1,248,1,186,1,217,1,155,1,186,1,93,1,124,1,62,1,93,1,31,1,62,1,202,3,233,3,171,3,202,3,78,3,109,3,47,3,78,3,210,2,241,2,179,2,210,2,86,2,117,2,55,2,86,2,218,1,249,1,187,1,218,1,94,1,125,1,63,1,94,1,203,3,234,3,79,3,110,3,211,2,242,2,87,2,118,2,219,1,250,1,95,1,126,1,108,3,139,3,240,2,15,3,116,2,147,2,248,1,23,2,124,1,155,1,140,3,171,3,109,3,140,3,16,3,47,3,241,2,16,3,148,2,179,2,117,2,148,2,24,2,55,2,249,1,24,2,156,1,187,1,125,1,156,1,172,3,203,3,141,3,172,3,110,3,141,3,48,3,79,3,17,3,48,3,242,2,17,3,180,2,211,2,149,2,180,2,118,2,149,2,56,2,87,2,25,2,56,2,250,1,25,2,188,1,219,1,157,1,188,1,126,1,157,1,204,3,235,3,173,3,204,3,142,3,173,3,111,3,142,3,80,3,111,3,49,3,80,3,18,3,49,3,243,2,18,3,212,2,243,2,181,2,212,2,150,2,181,2,119,2,150,2,88,2,119,2,57,2,88,2,26,2,57,2,251,1,26,2,220,1,251,1,189,1,220,1,158,1,189,1,127,1,158,1,205,3,236,3,174,3,205,3,143,3,174,3,81,3,112,3,50,3,81,3,19,3,50,3,213,2,244,2,182,2,213,2,151,2,182,2,89,2,120,2,58,2,89,2,27,2,58,2,221,1,252,1,190,1,221,1,159,1,190,1,206,3,237,3,175,3,206,3,82,3,113,3,51,3,82,3,214,2,245,2,183,2,214,2,90,2,121,2,59,2,90,2,222,1,253,1,191,1,222,1,207,3,238,3,83,3,114,3,215,2,246,2,91,2,122,2,223,1,254,1,112,3,143,3,244,2,19,3,120,2,151,2,252,1,27,2,144,3,175,3,113,3,144,3,20,3,51,3,245,2,20,3,152,2,183,2,121,2,152,2,28,2,59,2,253,1,28,2,176,3,207,3,145,3,176,3,114,3,145,3,52,3,83,3,21,3,52,3,246,2,21,3,184,2,215,2,153,2,184,2,122,2,153,2,60,2,91,2,29,2,60,2,254,1,29,2,208,3,239,3,177,3,208,3,146,3,177,3,115,3,146,3,84,3,115,3,53,3,84,3,22,3,53,3,247,2,22,3,216,2,247,2,185,2,216,2,154,2,185,2,123,2,154,2,92,2,123,2,61,2,92,2,30,2,61,2,255,1,30,2,209,3,240,3,178,3,209,3,147,3,178,3,85,3,116,3,54,3,85,3,23,3,54,3,217,2,248,2,186,2,217,2,155,2,186,2,93,2,124,2,62,2,93,2,31,2,62,2,210,3,241,3,179,3,210,3,86,3,117,3,55,3,86,3,218,2,249,2,187,2,218,2,94,2,125,2,63,2,94,2,211,3,242,3,87,3,118,3,219,2,250,2,95,2,126,2,116,3,147,3,248,2,23,3,124,2,155,2,148,3,179,3,117,3,148,3,24,3,55,3,249,2,24,3,156,2,187,2,125,2,156,2,180,3,211,3,149,3,180,3,118,3,149,3,56,3,87,3,25,3,56,3,250,2,25,3,188,2,219,2,157,2,188,2,126,2,157,2,212,3,243,3,181,3,212,3,150,3,181,3,119,3,150,3,88,3,119,3,57,3,88,3,26,3,57,3,251,2,26,3,220,2,251,2,189,2,220,2,158,2,189,2,127,2,158,2,213,3,244,3,182,3,213,3,151,3,182,3,89,3,120,3,58,3,89,3,27,3,58,3,221,2,252,2,190,2,221,2,159,2,190,2,214,3,245,3,183,3,214,3,90,3,121,3,59,3,90,3,222,2,253,2,191,2,222,2,215,3,246,3,91,3,122,3,223,2,254,2,120,3,151,3,252,2,27,3,152,3,183,3,121,3,152,3,28,3,59,3,253,2,28,3,184,3,215,3,153,3,184,3,122,3,153,3,60,3,91,3,29,3,60,3,254,2,29,3,216,3,247,3,185,3,216,3,154,3,185,3,123,3,154,3,92,3,123,3,61,3,92,3,30,3,61,3,255,2,30,3,217,3,248,3,186,3,217,3,155,3,186,3,93,3,124,3,62,3,93,3,31,3,62,3,218,3,249,3,187,3,218,3,94,3,125,3,63,3,94,3,219,3,250,3,95,3,126,3,124,3,155,3,156,3,187,3,125,3,156,3,188,3,219,3,157,3,188,3,126,3,157,3,220,3,251,3,189,3,220,3,158,3,189,3,127,3,158,3,221,3,252,3,190,3,221,3,159,3,190,3,222,3,253,3,191,3,222,3,223,3,254,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,4,0,2,0,5,0,3,0,6,0,8,0,9,0,7,0,12,0,10,0,13,0,11,0,14,0,15,0,0,0,1,0,3,0,5,0,2,0,4,0,6,0,9,0,7,0,8,0,11,0,13,0,10,0,12,0,14,0,15,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,4,0,4,0,2,0,2,0,5,0,5,0,4,0,4,0,8,0,8,0,6,0,6,0,8,0,8,0,9,0,9,0,12,0,12,0,10,0,10,0,13,0,13,0,14,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,8,0,1,0,12,0,5,0,9,0,2,0,13,0,6,0,10,0,3,0,7,0,14,0,11,0,15,0,0,0,3,0,7,0,11,0,1,0,5,0,9,0,12,0,2,0,6,0,10,0,14,0,4,0,8,0,13,0,15,0,0,0,0,0,0,0,0,0,4,0,4,0,0,0,0,0,8,0,8,0,1,0,1,0,5,0,5,0,1,0,1,0,9,0,9,0,2,0,2,0,6,0,6,0,2,0,2,0,3,0,3,0,10,0,10,0,7,0,7,0,11,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,8,0,9,0,3,0,16,0,10,0,4,0,17,0,11,0,24,0,5,0,18,0,25,0,12,0,19,0,26,0,32,0,6,0,13,0,20,0,33,0,27,0,7,0,34,0,40,0,21,0,28,0,41,0,14,0,35,0,48,0,42,0,29,0,36,0,49,0,22,0,43,0,15,0,56,0,37,0,50,0,44,0,30,0,57,0,23,0,51,0,58,0,45,0,38,0,52,0,31,0,59,0,53,0,46,0,60,0,39,0,61,0,47,0,54,0,55,0,62,0,63,0,0,0,1,0,2,0,5,0,8,0,12,0,19,0,24,0,3,0,4,0,7,0,10,0,15,0,20,0,30,0,39,0,6,0,9,0,13,0,16,0,21,0,27,0,37,0,46,0,11,0,14,0,17,0,23,0,28,0,34,0,44,0,52,0,18,0,22,0,25,0,31,0,35,0,41,0,50,0,57,0,26,0,29,0,33,0,38,0,43,0,49,0,55,0,59,0,32,0,36,0,42,0,47,0,51,0,54,0,60,0,61,0,40,0,45,0,48,0,53,0,56,0,58,0,62,0,63,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,8,0,8,0,2,0,2,0,8,0,8,0,9,0,9,0,3,0,3,0,16,0,16,0,10,0,10,0,16,0,16,0,4,0,4,0,17,0,17,0,24,0,24,0,11,0,11,0,18,0,18,0,25,0,25,0,24,0,24,0,5,0,5,0,12,0,12,0,19,0,19,0,32,0,32,0,26,0,26,0,6,0,6,0,33,0,33,0,32,0,32,0,20,0,20,0,27,0,27,0,40,0,40,0,13,0,13,0,34,0,34,0,40,0,40,0,41,0,41,0,28,0,28,0,35,0,35,0,48,0,48,0,21,0,21,0,42,0,42,0,14,0,14,0,48,0,48,0,36,0,36,0,49,0,49,0,43,0,43,0,29,0,29,0,56,0,56,0,22,0,22,0,50,0,50,0,57,0,57,0,44,0,44,0,37,0,37,0,51,0,51,0,30,0,30,0,58,0,58,0,52,0,52,0,45,0,45,0,59,0,59,0,38,0,38,0,60,0,60,0,46,0,46,0,53,0,53,0,54,0,54,0,61,0,61,0,62,0,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,16,0,1,0,24,0,9,0,32,0,17,0,2,0,40,0,25,0,10,0,33,0,18,0,48,0,3,0,26,0,41,0,11,0,56,0,19,0,34,0,4,0,49,0,27,0,42,0,12,0,35,0,20,0,57,0,50,0,28,0,5,0,43,0,13,0,36,0,58,0,51,0,21,0,44,0,6,0,29,0,59,0,37,0,14,0,52,0,22,0,7,0,45,0,60,0,30,0,15,0,38,0,53,0,23,0,46,0,31,0,61,0,39,0,54,0,47,0,62,0,55,0,63,0,0,0,3,0,8,0,15,0,22,0,32,0,40,0,47,0,1,0,5,0,11,0,18,0,26,0,34,0,44,0,51,0,2,0,7,0,13,0,20,0,28,0,38,0,46,0,54,0,4,0,10,0,16,0,24,0,31,0,41,0,50,0,56,0,6,0,12,0,21,0,27,0,35,0,43,0,52,0,58,0,9,0,17,0,25,0,33,0,39,0,48,0,55,0,60,0,14,0,23,0,30,0,37,0,45,0,53,0,59,0,62,0,19,0,29,0,36,0,42,0,49,0,57,0,61,0,63,0,0,0,0,0,0,0,0,0,8,0,8,0,0,0,0,0,16,0,16,0,1,0,1,0,24,0,24,0,9,0,9,0,1,0,1,0,32,0,32,0,17,0,17,0,2,0,2,0,25,0,25,0,10,0,10,0,40,0,40,0,2,0,2,0,18,0,18,0,33,0,33,0,3,0,3,0,48,0,48,0,11,0,11,0,26,0,26,0,3,0,3,0,41,0,41,0,19,0,19,0,34,0,34,0,4,0,4,0,27,0,27,0,12,0,12,0,49,0,49,0,42,0,42,0,20,0,20,0,4,0,4,0,35,0,35,0,5,0,5,0,28,0,28,0,50,0,50,0,43,0,43,0,13,0,13,0,36,0,36,0,5,0,5,0,21,0,21,0,51,0,51,0,29,0,29,0,6,0,6,0,44,0,44,0,14,0,14,0,6,0,6,0,37,0,37,0,52,0,52,0,22,0,22,0,7,0,7,0,30,0,30,0,45,0,45,0,15,0,15,0,38,0,38,0,23,0,23,0,53,0,53,0,31,0,31,0,46,0,46,0,39,0,39,0,54,0,54,0,47,0,47,0,55,0,55,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,16,0,3,0,17,0,4,0,18,0,32,0,5,0,33,0,19,0,6,0,34,0,48,0,20,0,49,0,7,0,35,0,21,0,50,0,64,0,8,0,36,0,65,0,22,0,51,0,37,0,80,0,9,0,66,0,52,0,23,0,38,0,81,0,67,0,10,0,53,0,24,0,82,0,68,0,96,0,39,0,11,0,54,0,83,0,97,0,69,0,25,0,98,0,84,0,40,0,112,0,55,0,12,0,70,0,99,0,113,0,85,0,26,0,41,0,56,0,114,0,100,0,13,0,71,0,128,0,86,0,27,0,115,0,101,0,129,0,42,0,57,0,72,0,116,0,14,0,87,0,130,0,102,0,144,0,73,0,131,0,117,0,28,0,58,0,15,0,88,0,43,0,145,0,103,0,132,0,146,0,118,0,74,0,160,0,89,0,133,0,104,0,29,0,59,0,147,0,119,0,44,0,161,0,148,0,90,0,105,0,134,0,162,0,120,0,176,0,75,0,135,0,149,0,30,0,60,0,163,0,177,0,45,0,121,0,91,0,106,0,164,0,178,0,150,0,192,0,136,0,165,0,179,0,31,0,151,0,193,0,76,0,122,0,61,0,137,0,194,0,107,0,152,0,180,0,208,0,46,0,166,0,167,0,195,0,92,0,181,0,138,0,209,0,123,0,153,0,224,0,196,0,77,0,168,0,210,0,182,0,240,0,108,0,197,0,62,0,154,0,225,0,183,0,169,0,211,0,47,0,139,0,93,0,184,0,226,0,212,0,241,0,198,0,170,0,124,0,155,0,199,0,78,0,213,0,185,0,109,0,227,0,200,0,63,0,228,0,242,0,140,0,214,0,171,0,186,0,156,0,229,0,243,0,125,0,94,0,201,0,244,0,215,0,216,0,230,0,141,0,187,0,202,0,79,0,172,0,110,0,157,0,245,0,217,0,231,0,95,0,246,0,232,0,126,0,203,0,247,0,233,0,173,0,218,0,142,0,111,0,158,0,188,0,248,0,127,0,234,0,219,0,249,0,189,0,204,0,143,0,174,0,159,0,250,0,235,0,205,0,220,0,175,0,190,0,251,0,221,0,191,0,206,0,236,0,207,0,237,0,252,0,222,0,253,0,223,0,238,0,239,0,254,0,255,0,0,0,1,0,2,0,4,0,6,0,9,0,12,0,17,0,22,0,29,0,36,0,43,0,54,0,64,0,76,0,86,0,3,0,5,0,7,0,11,0,15,0,19,0,25,0,32,0,38,0,48,0,59,0,68,0,84,0,99,0,115,0,130,0,8,0,10,0,13,0,18,0,23,0,27,0,33,0,42,0,51,0,60,0,72,0,88,0,103,0,119,0,142,0,167,0,14,0,16,0,20,0,26,0,31,0,37,0,44,0,53,0,61,0,73,0,85,0,100,0,116,0,135,0,161,0,185,0,21,0,24,0,30,0,35,0,40,0,47,0,55,0,65,0,74,0,81,0,94,0,112,0,133,0,154,0,179,0,205,0,28,0,34,0,39,0,45,0,50,0,58,0,67,0,77,0,87,0,96,0,106,0,121,0,146,0,169,0,196,0,212,0,41,0,46,0,49,0,56,0,63,0,70,0,79,0,90,0,98,0,107,0,122,0,138,0,159,0,182,0,207,0,222,0,52,0,57,0,62,0,69,0,75,0,83,0,93,0,102,0,110,0,120,0,134,0,150,0,176,0,195,0,215,0,226,0,66,0,71,0,78,0,82,0,91,0,97,0,108,0,113,0,127,0,136,0,148,0,168,0,188,0,202,0,221,0,232,0,80,0,89,0,92,0,101,0,105,0,114,0,125,0,131,0,139,0,151,0,162,0,177,0,192,0,208,0,223,0,234,0,95,0,104,0,109,0,117,0,123,0,128,0,143,0,144,0,155,0,165,0,175,0,190,0,206,0,219,0,233,0,239,0,111,0,118,0,124,0,129,0,140,0,147,0,157,0,164,0,170,0,181,0,191,0,203,0,224,0,230,0,240,0,243,0,126,0,132,0,137,0,145,0,153,0,160,0,174,0,178,0,184,0,197,0,204,0,216,0,231,0,237,0,244,0,246,0,141,0,149,0,156,0,166,0,172,0,180,0,189,0,199,0,200,0,210,0,220,0,228,0,238,0,242,0,249,0,251,0,152,0,163,0,171,0,183,0,186,0,193,0,201,0,211,0,214,0,218,0,227,0,236,0,245,0,247,0,252,0,253,0,158,0,173,0,187,0,194,0,198,0,209,0,213,0,217,0,225,0,229,0,235,0,241,0,248,0,250,0,254,0,255,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,2,0,2,0,16,0,16,0,3,0,3,0,17,0,17,0,16,0,16,0,4,0,4,0,32,0,32,0,18,0,18,0,5,0,5,0,33,0,33,0,32,0,32,0,19,0,19,0,48,0,48,0,6,0,6,0,34,0,34,0,20,0,20,0,49,0,49,0,48,0,48,0,7,0,7,0,35,0,35,0,64,0,64,0,21,0,21,0,50,0,50,0,36,0,36,0,64,0,64,0,8,0,8,0,65,0,65,0,51,0,51,0,22,0,22,0,37,0,37,0,80,0,80,0,66,0,66,0,9,0,9,0,52,0,52,0,23,0,23,0,81,0,81,0,67,0,67,0,80,0,80,0,38,0,38,0,10,0,10,0,53,0,53,0,82,0,82,0,96,0,96,0,68,0,68,0,24,0,24,0,97,0,97,0,83,0,83,0,39,0,39,0,96,0,96,0,54,0,54,0,11,0,11,0,69,0,69,0,98,0,98,0,112,0,112,0,84,0,84,0,25,0,25,0,40,0,40,0,55,0,55,0,113,0,113,0,99,0,99,0,12,0,12,0,70,0,70,0,112,0,112,0,85,0,85,0,26,0,26,0,114,0,114,0,100,0,100,0,128,0,128,0,41,0,41,0,56,0,56,0,71,0,71,0,115,0,115,0,13,0,13,0,86,0,86,0,129,0,129,0,101,0,101,0,128,0,128,0,72,0,72,0,130,0,130,0,116,0,116,0,27,0,27,0,57,0,57,0,14,0,14,0,87,0,87,0,42,0,42,0,144,0,144,0,102,0,102,0,131,0,131,0,145,0,145,0,117,0,117,0,73,0,73,0,144,0,144,0,88,0,88,0,132,0,132,0,103,0,103,0,28,0,28,0,58,0,58,0,146,0,146,0,118,0,118,0,43,0,43,0,160,0,160,0,147,0,147,0,89,0,89,0,104,0,104,0,133,0,133,0,161,0,161,0,119,0,119,0,160,0,160,0,74,0,74,0,134,0,134,0,148,0,148,0,29,0,29,0,59,0,59,0,162,0,162,0,176,0,176,0,44,0,44,0,120,0,120,0,90,0,90,0,105,0,105,0,163,0,163,0,177,0,177,0,149,0,149,0,176,0,176,0,135,0,135,0,164,0,164,0,178,0,178,0,30,0,30,0,150,0,150,0,192,0,192,0,75,0,75,0,121,0,121,0,60,0,60,0,136,0,136,0,193,0,193,0,106,0,106,0,151,0,151,0,179,0,179,0,192,0,192,0,45,0,45,0,165,0,165,0,166,0,166,0,194,0,194,0,91,0,91,0,180,0,180,0,137,0,137,0,208,0,208,0,122,0,122,0,152,0,152,0,208,0,208,0,195,0,195,0,76,0,76,0,167,0,167,0,209,0,209,0,181,0,181,0,224,0,224,0,107,0,107,0,196,0,196,0,61,0,61,0,153,0,153,0,224,0,224,0,182,0,182,0,168,0,168,0,210,0,210,0,46,0,46,0,138,0,138,0,92,0,92,0,183,0,183,0,225,0,225,0,211,0,211,0,240,0,240,0,197,0,197,0,169,0,169,0,123,0,123,0,154,0,154,0,198,0,198,0,77,0,77,0,212,0,212,0,184,0,184,0,108,0,108,0,226,0,226,0,199,0,199,0,62,0,62,0,227,0,227,0,241,0,241,0,139,0,139,0,213,0,213,0,170,0,170,0,185,0,185,0,155,0,155,0,228,0,228,0,242,0,242,0,124,0,124,0,93,0,93,0,200,0,200,0,243,0,243,0,214,0,214,0,215,0,215,0,229,0,229,0,140,0,140,0,186,0,186,0,201,0,201,0,78,0,78,0,171,0,171,0,109,0,109,0,156,0,156,0,244,0,244,0,216,0,216,0,230,0,230,0,94,0,94,0,245,0,245,0,231,0,231,0,125,0,125,0,202,0,202,0,246,0,246,0,232,0,232,0,172,0,172,0,217,0,217,0,141,0,141,0,110,0,110,0,157,0,157,0,187,0,187,0,247,0,247,0,126,0,126,0,233,0,233,0,218,0,218,0,248,0,248,0,188,0,188,0,203,0,203,0,142,0,142,0,173,0,173,0,158,0,158,0,249,0,249,0,234,0,234,0,204,0,204,0,219,0,219,0,174,0,174,0,189,0,189,0,250,0,250,0,220,0,220,0,190,0,190,0,205,0,205,0,235,0,235,0,206,0,206,0,236,0,236,0,251,0,251,0,221,0,221,0,252,0,252,0,222,0,222,0,237,0,237,0,238,0,238,0,253,0,253,0,254,0,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,32,0,48,0,1,0,64,0,17,0,80,0,33,0,96,0,49,0,2,0,65,0,112,0,18,0,81,0,34,0,128,0,50,0,97,0,3,0,66,0,144,0,19,0,113,0,35,0,82,0,160,0,98,0,51,0,129,0,4,0,67,0,176,0,20,0,114,0,145,0,83,0,36,0,99,0,130,0,52,0,192,0,5,0,161,0,68,0,115,0,21,0,146,0,84,0,208,0,177,0,37,0,131,0,100,0,53,0,162,0,224,0,69,0,6,0,116,0,193,0,147,0,85,0,22,0,240,0,132,0,38,0,178,0,101,0,163,0,54,0,209,0,117,0,70,0,7,0,148,0,194,0,86,0,179,0,225,0,23,0,133,0,39,0,164,0,8,0,102,0,210,0,241,0,55,0,195,0,118,0,149,0,71,0,180,0,24,0,87,0,226,0,134,0,165,0,211,0,40,0,103,0,56,0,72,0,150,0,196,0,242,0,119,0,9,0,181,0,227,0,88,0,166,0,25,0,135,0,41,0,104,0,212,0,57,0,151,0,197,0,120,0,73,0,243,0,182,0,136,0,167,0,213,0,89,0,10,0,228,0,105,0,152,0,198,0,26,0,42,0,121,0,183,0,244,0,168,0,58,0,137,0,229,0,74,0,214,0,90,0,153,0,199,0,184,0,11,0,106,0,245,0,27,0,122,0,230,0,169,0,43,0,215,0,59,0,200,0,138,0,185,0,246,0,75,0,12,0,91,0,154,0,216,0,231,0,107,0,28,0,44,0,201,0,123,0,170,0,60,0,247,0,232,0,76,0,139,0,13,0,92,0,217,0,186,0,248,0,155,0,108,0,29,0,124,0,45,0,202,0,233,0,171,0,61,0,14,0,77,0,140,0,15,0,249,0,93,0,30,0,187,0,156,0,218,0,46,0,109,0,125,0,62,0,172,0,78,0,203,0,31,0,141,0,234,0,94,0,47,0,188,0,63,0,157,0,110,0,250,0,219,0,79,0,126,0,204,0,173,0,142,0,95,0,189,0,111,0,235,0,158,0,220,0,251,0,127,0,174,0,143,0,205,0,236,0,159,0,190,0,221,0,252,0,175,0,206,0,237,0,191,0,253,0,222,0,238,0,207,0,254,0,223,0,239,0,255,0,0,0,4,0,11,0,20,0,31,0,43,0,59,0,75,0,85,0,109,0,130,0,150,0,165,0,181,0,195,0,198,0,1,0,6,0,14,0,23,0,34,0,47,0,64,0,81,0,95,0,114,0,135,0,153,0,171,0,188,0,201,0,212,0,2,0,8,0,16,0,25,0,38,0,52,0,67,0,83,0,101,0,116,0,136,0,157,0,172,0,190,0,205,0,216,0,3,0,10,0,18,0,29,0,41,0,55,0,71,0,89,0,103,0,119,0,141,0,159,0,176,0,194,0,208,0,218,0,5,0,12,0,21,0,32,0,45,0,58,0,74,0,93,0,104,0,123,0,144,0,164,0,179,0,196,0,210,0,223,0,7,0,15,0,26,0,37,0,49,0,63,0,78,0,96,0,112,0,129,0,146,0,166,0,182,0,200,0,215,0,228,0,9,0,19,0,28,0,39,0,54,0,69,0,86,0,102,0,117,0,132,0,151,0,170,0,187,0,206,0,220,0,230,0,13,0,24,0,35,0,46,0,60,0,73,0,91,0,108,0,122,0,137,0,154,0,174,0,189,0,207,0,224,0,235,0,17,0,30,0,40,0,53,0,66,0,82,0,98,0,115,0,126,0,142,0,161,0,180,0,197,0,213,0,227,0,237,0,22,0,36,0,48,0,62,0,76,0,92,0,105,0,120,0,133,0,147,0,167,0,186,0,203,0,219,0,232,0,240,0,27,0,44,0,56,0,70,0,84,0,99,0,113,0,127,0,140,0,156,0,175,0,193,0,209,0,226,0,236,0,244,0,33,0,51,0,68,0,79,0,94,0,110,0,125,0,138,0,149,0,162,0,184,0,202,0,217,0,229,0,241,0,247,0,42,0,61,0,77,0,90,0,106,0,121,0,134,0,148,0,160,0,173,0,191,0,211,0,225,0,238,0,245,0,251,0,50,0,72,0,87,0,100,0,118,0,128,0,145,0,158,0,168,0,183,0,204,0,222,0,233,0,242,0,249,0,253,0,57,0,80,0,97,0,111,0,131,0,143,0,155,0,169,0,178,0,192,0,214,0,231,0,239,0,246,0,250,0,254,0,65,0,88,0,107,0,124,0,139,0,152,0,163,0,177,0,185,0,199,0,221,0,234,0,243,0,248,0,252,0,255,0,0,0,0,0,0,0,0,0,16,0,16,0,32,0,32,0,0,0,0,0,48,0,48,0,1,0,1,0,64,0,64,0,17,0,17,0,80,0,80,0,33,0,33,0,1,0,1,0,49,0,49,0,96,0,96,0,2,0,2,0,65,0,65,0,18,0,18,0,112,0,112,0,34,0,34,0,81,0,81,0,2,0,2,0,50,0,50,0,128,0,128,0,3,0,3,0,97,0,97,0,19,0,19,0,66,0,66,0,144,0,144,0,82,0,82,0,35,0,35,0,113,0,113,0,3,0,3,0,51,0,51,0,160,0,160,0,4,0,4,0,98,0,98,0,129,0,129,0,67,0,67,0,20,0,20,0,83,0,83,0,114,0,114,0,36,0,36,0,176,0,176,0,4,0,4,0,145,0,145,0,52,0,52,0,99,0,99,0,5,0,5,0,130,0,130,0,68,0,68,0,192,0,192,0,161,0,161,0,21,0,21,0,115,0,115,0,84,0,84,0,37,0,37,0,146,0,146,0,208,0,208,0,53,0,53,0,5,0,5,0,100,0,100,0,177,0,177,0,131,0,131,0,69,0,69,0,6,0,6,0,224,0,224,0,116,0,116,0,22,0,22,0,162,0,162,0,85,0,85,0,147,0,147,0,38,0,38,0,193,0,193,0,101,0,101,0,54,0,54,0,6,0,6,0,132,0,132,0,178,0,178,0,70,0,70,0,163,0,163,0,209,0,209,0,7,0,7,0,117,0,117,0,23,0,23,0,148,0,148,0,7,0,7,0,86,0,86,0,194,0,194,0,225,0,225,0,39,0,39,0,179,0,179,0,102,0,102,0,133,0,133,0,55,0,55,0,164,0,164,0,8,0,8,0,71,0,71,0,210,0,210,0,118,0,118,0,149,0,149,0,195,0,195,0,24,0,24,0,87,0,87,0,40,0,40,0,56,0,56,0,134,0,134,0,180,0,180,0,226,0,226,0,103,0,103,0,8,0,8,0,165,0,165,0,211,0,211,0,72,0,72,0,150,0,150,0,9,0,9,0,119,0,119,0,25,0,25,0,88,0,88,0,196,0,196,0,41,0,41,0,135,0,135,0,181,0,181,0,104,0,104,0,57,0,57,0,227,0,227,0,166,0,166,0,120,0,120,0,151,0,151,0,197,0,197,0,73,0,73,0,9,0,9,0,212,0,212,0,89,0,89,0,136,0,136,0,182,0,182,0,10,0,10,0,26,0,26,0,105,0,105,0,167,0,167,0,228,0,228,0,152,0,152,0,42,0,42,0,121,0,121,0,213,0,213,0,58,0,58,0,198,0,198,0,74,0,74,0,137,0,137,0,183,0,183,0,168,0,168,0,10,0,10,0,90,0,90,0,229,0,229,0,11,0,11,0,106,0,106,0,214,0,214,0,153,0,153,0,27,0,27,0,199,0,199,0,43,0,43,0,184,0,184,0,122,0,122,0,169,0,169,0,230,0,230,0,59,0,59,0,11,0,11,0,75,0,75,0,138,0,138,0,200,0,200,0,215,0,215,0,91,0,91,0,12,0,12,0,28,0,28,0,185,0,185,0,107,0,107,0,154,0,154,0,44,0,44,0,231,0,231,0,216,0,216,0,60,0,60,0,123,0,123,0,12,0,12,0,76,0,76,0,201,0,201,0,170,0,170,0,232,0,232,0,139,0,139,0,92,0,92,0,13,0,13,0,108,0,108,0,29,0,29,0,186,0,186,0,217,0,217,0,155,0,155,0,45,0,45,0,13,0,13,0,61,0,61,0,124,0,124,0,14,0,14,0,233,0,233,0,77,0,77,0,14,0,14,0,171,0,171,0,140,0,140,0,202,0,202,0,30,0,30,0,93,0,93,0,109,0,109,0,46,0,46,0,156,0,156,0,62,0,62,0,187,0,187,0,15,0,15,0,125,0,125,0,218,0,218,0,78,0,78,0,31,0,31,0,172,0,172,0,47,0,47,0,141,0,141,0,94,0,94,0,234,0,234,0,203,0,203,0,63,0,63,0,110,0,110,0,188,0,188,0,157,0,157,0,126,0,126,0,79,0,79,0,173,0,173,0,95,0,95,0,219,0,219,0,142,0,142,0,204,0,204,0,235,0,235,0,111,0,111,0,158,0,158,0,127,0,127,0,189,0,189,0,220,0,220,0,143,0,143,0,174,0,174,0,205,0,205,0,236,0,236,0,159,0,159,0,190,0,190,0,221,0,221,0,175,0,175,0,237,0,237,0,206,0,206,0,222,0,222,0,191,0,191,0,238,0,238,0,207,0,207,0,223,0,223,0,239,0,239,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,3,0,0,0,0,0,0,3,3,3,3,0,0,0,0,15,15,0,0,0,0,0,0,15,15,15,15,0,0,0,0,15,15,15,15,15,15,15,15,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,255,0,255,0,255,0,255,0,0,0,255,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,85,85,85,85,85,85,85,85,17,17,17,17,17,17,17,17,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,0,0,0,0,6,0,0,0,12,0,0,0,19,0,0,0,25,0,0,0,32,0,0,0,38,0,0,0,44,0,0,0,51,0,0,0,57,0,0,0,64,0,0,0,70,0,0,0,76,0,0,0,83,0,0,0,89,0,0,0,96,0,0,0,102,0,0,0,108,0,0,0,115,0,0,0,121,0,0,0,128,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,2,0,0,0,3,0,0,0,3,0,0,0,4,0,0,0,3,0,0,0,3,0,0,0,4,0,0,0,4,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,5,0,0,0,5,0,0,0,6,0,0,0,6,0,0,0,6,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,255,0,0,0,63,0,0,0,3,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,112,10,0,0,144,10,0,0,176,10,0,0,0,11,0,0,128,11,0,0,0,12,0,0,16,13,0,0,16,15,0,0,16,17,0,0,32,21,0,0,32,29,0,0,32,37,0,0,112,10,0,0,144,10,0,0,176,10,0,0,48,53,0,0,80,53,0,0,112,53,0,0,192,53,0,0,224,53,0,0,0,54,0,0,112,10,0,0,144,10,0,0,176,10,0,0,0,11,0,0,128,11,0,0,0,12,0,0,80,54,0,0,208,54,0,0,80,55,0,0,96,56,0,0,224,56,0,0,96,57,0,0,0,11,0,0,128,11,0,0,0,12,0,0,16,13,0,0,16,15,0,0,16,17,0,0,112,58,0,0,112,60,0,0,112,62,0,0,128,66,0,0,128,68,0,0,128,70,0,0,16,13,0,0,16,15,0,0,16,17,0,0,32,21,0,0,32,29,0,0,32,37,0,0,32,21,0,0,32,29,0,0,32,37,0,0,32,21,0,0,32,29,0,0,32,37,0,0,32,21,0,0,32,29,0,0,32,37,0,0,176,115,0,0,5,0,0,0,1,0,64,0,1,0,0,0,3,0,0,0,160,78,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,0,0,0,1,0,0,0,5,0,0,0,3,0,0,0,6,0,0,0,8,1,0,0,7,0,0,0,3,1,0,0,8,0,0,0,7,1,0,0,9,0,0,0,9,1,0,0,10,0,0,0,10,1,0,0,11,0,0,0,0,1,0,0,12,0,0,0,1,1,0,0,13,0,0,0,128,0,0,0,14,0,0,0,5,1,0,0,15,0,0,0,6,1,0,0,16,0,0,0,4,1,0,0,17,0,0,0,255,255,255,255,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,0,0,0,0,0,0,0,0,254,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,254,255,255,255,254,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,0,0,0,0,0,0,0,0,254,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,254,255,255,255,254,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,0,0,0,0,0,0,0,0,254,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,254,255,255,255,254,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,0,0,0,0,0,0,0,0,254,255,255,255,254,255,255,255,255,255,255,255],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+10240);allocate([255,255,255,255,254,255,255,255,254,255,255,255,254,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,254,255,255,255,254,255,255,255,0,0,0,0,254,255,255,255,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,1,0,0,0,255,255,255,255,255,255,255,255,254,255,255,255,0,0,0,0,0,0,0,0,254,255,255,255,255,255,255,255,254,255,255,255,254,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,1,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,253,255,255,255,0,0,0,0,0,0,0,0,253,255,255,255,253,255,255,255,253,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,2,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,1,0,0,0,0,0,0,0,253,255,255,255,253,255,255,255,0,0,0,0,253,255,255,255,253,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,2,0,0,0,255,255,255,255,255,255,255,255,1,0,0,0,255,255,255,255,253,255,255,255,0,0,0,0,0,0,0,0,253,255,255,255,253,255,255,255,253,255,255,255,255,255,255,255,1,0,0,0,1,0,0,0,255,255,255,255,255,255,255,255,2,0,0,0,2,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,253,255,255,255,0,0,0,0,0,0,0,0,253,255,255,255,253,255,255,255,253,255,255,255,0,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,4,0,0,0,255,255,255,255,255,255,255,255,2,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,253,255,255,255,253,255,255,255,0,0,0,0,2,0,0,0,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,4,0,0,0,2,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,253,255,255,255,0,0,0,0,0,0,0,0,253,255,255,255,255,255,255,255,2,0,0,0,255,255,255,255,3,0,0,0,3,0,0,0,255,255,255,255,255,255,255,255,4,0,0,0,4,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,6,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,1,0,0,0,3,0,0,0,9,0,0,0,0,0,0,0,9,0,0,0,9,0,0,0,5,0,0,0,5,0,0,0,9,0,0,0,5,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,9,0,0,0,6,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,3,0,0,0,3,0,0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,0,1,0,1,0,1,0,1,0,1,0,1,0,3,0,3,0,3,0,15,0,15,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,17,0,1,0,17,0,17,17,17,0,17,17,1,0,1,0,1,0,1,0,1,0,1,0,1,0,17,0,3,0,51,0,51,51,255,0,255,255,255,255,255,255,15,15,15,0,255,255,255,255,85,85,17,17,4,0,8,0,8,0,9,0,10,0,11,0,12,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,38,0,39,0,40,0,41,0,42,0,43,0,43,0,44,0,45,0,46,0,47,0,48,0,48,0,49,0,50,0,51,0,52,0,53,0,53,0,54,0,55,0,56,0,57,0,57,0,58,0,59,0,60,0,61,0,62,0,62,0,63,0,64,0,65,0,66,0,66,0,67,0,68,0,69,0,70,0,70,0,71,0,72,0,73,0,74,0,74,0,75,0,76,0,77,0,78,0,78,0,79,0,80,0,81,0,81,0,82,0,83,0,84,0,85,0,85,0,87,0,88,0,90,0,92,0,93,0,95,0,96,0,98,0,99,0,101,0,102,0,104,0,105,0,107,0,108,0,110,0,111,0,113,0,114,0,116,0,117,0,118,0,120,0,121,0,123,0,125,0,127,0,129,0,131,0,134,0,136,0,138,0,140,0,142,0,144,0,146,0,148,0,150,0,152,0,154,0,156,0,158,0,161,0,164,0,166,0,169,0,172,0,174,0,177,0,180,0,182,0,185,0,187,0,190,0,192,0,195,0,199,0,202,0,205,0,208,0,211,0,214,0,217,0,220,0,223,0,226,0,230,0,233,0,237,0,240,0,243,0,247,0,250,0,253,0,1,1,5,1,9,1,13,1,16,1,20,1,24,1,28,1,32,1,36,1,40,1,44,1,48,1,53,1,57,1,61,1,66,1,70,1,74,1,79,1,84,1,88,1,93,1,98,1,103,1,108,1,113,1,118,1,123,1,128,1,133,1,139,1,144,1,150,1,155,1,161,1,167,1,173,1,179,1,185,1,191,1,198,1,205,1,211,1,219,1,226,1,233,1,241,1,249,1,1,2,10,2,18,2,27,2,37,2,47,2,57,2,67,2,78,2,90,2,102,2,114,2,128,2,142,2,156,2,172,2,188,2,205,2,224,2,243,2,7,3,28,3,51,3,75,3,101,3,128,3,157,3,187,3,220,3,254,3,34,4,74,4,115,4,160,4,208,4,2,5,56,5,4,0,8,0,9,0,10,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,18,0,19,0,20,0,21,0,22,0,23,0,24,0,25,0,26,0,27,0,28,0,29,0,30,0,31,0,32,0,33,0,34,0,35,0,36,0,37,0,38,0,39,0,40,0,41,0,42,0,43,0,44,0,45,0,46,0,47,0,48,0,49,0,50,0,51,0,52,0,53,0,54,0,55,0,56,0,57,0,58,0,59,0,60,0,61,0,62,0,63,0,64,0,65,0,66,0,67,0,68,0,69,0,70,0,71,0,72,0,73,0,74,0,75,0,76,0,77,0,78,0,79,0,80,0,81,0,82,0,83,0,84,0,85,0,86,0,87,0,88,0,89,0,90,0,91,0,92,0,93,0,94,0,95,0,96,0,97,0,98,0,99,0,100,0,101,0,102,0,104,0,106,0,108,0,110,0,112,0,114,0,116,0,118,0,120,0,122,0,124,0,126,0,128,0,130,0,132,0,134,0,136,0,138,0,140,0,142,0,144,0,146,0,148,0,150,0,152,0,155,0,158,0,161,0,164,0,167,0,170,0,173,0,176,0,179,0,182,0,185,0,188,0,191,0,194,0,197,0,200,0,203,0,207,0,211,0,215,0,219,0,223,0,227,0,231,0,235,0,239,0,243,0,247,0,251,0,255,0,4,1,9,1,14,1,19,1,24,1,29,1,34,1,39,1,44,1,49,1,55,1,61,1,67,1,73,1,79,1,85,1,91,1,97,1,103,1,110,1,117,1,124,1,131,1,138,1,145,1,152,1,160,1,168,1,176,1,184,1,192,1,200,1,209,1,218,1,227,1,236,1,245,1,254,1,8,2,18,2,28,2,38,2,48,2,59,2,70,2,81,2,92,2,103,2,115,2,127,2,139,2,151,2,164,2,177,2,190,2,203,2,217,2,231,2,245,2,3,3,18,3,33,3,48,3,64,3,80,3,96,3,113,3,130,3,147,3,165,3,183,3,201,3,220,3,239,3,2,4,22,4,42,4,63,4,84,4,105,4,127,4,149,4,172,4,195,4,219,4,243,4,12,5,37,5,63,5,89,5,116,5,143,5,171,5,199,5,228,5,1,6,31,6,61,6,92,6,124,6,156,6,189,6,223,6,1,7,36,7,3,86,128,6,86,23,88,29,6,86,128,11,87,42,91,52,9,86,129,17,88,61,94,76,12,86,129,22,88,77,97,93,15,87,129,28,89,93,100,110,17,87,129,33,90,105,103,123,20,88,130,38,91,118,106,136,23,88,130,43,91,128,108,146,26,89,131,48,92,139,111,156,28,89,131,53,93,147,114,163,31,90,131,58,94,156,117,171,34,90,131,62,94,163,119,177,37,90,132,66,95,171,122,184,39,90,132,70,96,177,124,189,42,91,132,75,97,183,127,194,44,91,132,79,97,188,129,198,47,92,133,83,98,193,132,202,49,92,133,86,99,197,134,205,52,93,133,90,100,201,137,208,54,93,133,94,100,204,139,211,57,94,134,98,101,208,142,214,59,94,134,101,102,211,144,216,62,94,135,105,103,214,146,218,64,94,135,108,103,216,148,220,66,95,135,111,104,219,151,222,68,95,135,114,105,221,153,223,71,96,136,117,106,224,155,225,73,96,136,120,106,225,157,226,76,97,136,123,107,227,159,228,78,97,136,126,108,229,160,229,80,98,137,129,109,231,162,231,82,98,137,131,109,232,164,232,84,98,138,134,110,234,166,233,86,98,138,137,111,235,168,234,89,99,138,140,112,236,170,235,91,99,138,142,112,237,171,235,93,100,139,145,113,238,173,236,95,100,139,147,114,239,174,237,97,101,140,149,115,240,176,238,99,101,140,151,115,241,177,238,101,102,140,154,116,242,179,239,103,102,140,156,117,242,180,239,105,103,141,158,118,243,182,240,107,103,141,160,118,243,183,240,109,104,141,162,119,244,185,241,111,104,141,164,119,244,186,241,113,104,142,166,120,245,187,242,114,104,142,168,121,245,188,242,116,105,143,170,122,246,190,243,118,105,143,171,122,246,191,243,120,106,143,173,123,247,192,244,121,106,143,175,124,247,193,244,123,107,144,177,125,248,195,244,125,107,144,178,125,248,196,244,127,108,145,180,126,249,197,245,128,108,145,181,127,249,198,245,130,109,145,183,128,249,199,245,132,109,145,184,128,249,200,245,134,110,146,186,129,250,201,246,135,110,146,187,130,250,202,246,137,111,147,189,131,251,203,246,138,111,147,190,131,251,204,246,140,112,147,192,132,251,205,247,141,112,147,193,132,251,206,247,143,113,148,194,133,251,207,247,144,113,148,195,134,251,207,247,146,114,149,197,135,252,208,248,147,114,149,198,135,252,209,248,149,115,149,199,136,252,210,248,150,115,149,200,137,252,210,248,152,115,150,201,138,252,211,248,153,115,150,202,138,252,212,248,155,116,151,204,139,253,213,249,156,116,151,205,139,253,213,249,158,117,151,206,140,253,214,249,159,117,151,207,141,253,215,249,161,118,152,208,142,253,216,249,162,118,152,209,142,253,216,249,163,119,153,210,143,253,217,249,164,119,153,211,143,253,217,249,166,120,153,212,144,254,218,250,167,120,153,212,145,254,219,250,168,121,154,213,146,254,220,250,169,121,154,214,146,254,220,250,171,122,155,215,147,254,221,250,172,122,155,216,147,254,221,250,173,123,155,217,148,254,222,250,174,123,155,217,149,254,222,250,176,124,156,218,150,254,223,250,177,124,156,219,150,254,223,250,178,125,157,220,151,254,224,251,179,125,157,220,151,254,224,251,180,126,157,221,152,254,225,251,181,126,157,221,152,254,225,251,183,127,158,222,153,254,226,251,184,127,158,223,154,254,226,251,185,128,159,224,155,255,227,251,186,128,159,224,155,255,227,251,187,129,160,225,156,255,228,251,188,130,160,225,156,255,228,251,189,131,160,226,157,255,228,251,190,131,160,226,158,255,228,251,191,132,161,227,159,255,229,251,192,132,161,227,159,255,229,251,193,133,162,228,160,255,230,252,194,133,162,229,160,255,230,252,195,134,163,230,161,255,231,252,196,134,163,230,161,255,231,252,197,135,163,231,162,255,231,252,198,135,163,231,162,255,231,252,199,136,164,232,163,255,232,252,200,136,164,232,164,255,232,252,201,137,165,233,165,255,233,252,201,137,165,233,165,255,233,252,202,138,166,233,166,255,233,252,203,138,166,233,166,255,233,252,204,139,166,234,167,255,234,252,205,139,166,234,167,255,234,252,206,140,167,235,168,255,235,252,206,140,167,235,168,255,235,252,207,141,168,236,169,255,235,252,208,141,168,236,170,255,235,252,209,142,169,237,171,255,236,252,209,143,169,237,171,255,236,252,210,144,169,237,172,255,236,252,211,144,169,237,172,255,236,252,212,145,170,238,173,255,237,252,213,145,170,238,173,255,237,252,214,146,171,239,174,255,237,253,214,146,171,239,174,255,237,253,215,147,172,240,175,255,238,253,215,147,172,240,175,255,238,253,216,148,173,240,176,255,238,253,217,148,173,240,176,255,238,253,218,149,173,241,177,255,239,253,218,149,173,241,178,255,239,253,219,150,174,241,179,255,239,253,219,151,174,241,179,255,239,253,220,152,175,242,180,255,240,253,221,152,175,242,180,255,240,253,222,153,176,242,181,255,240,253,222,153,176,242,181,255,240,253,223,154,177,243,182,255,240,253,223,154,177,243,182,255,240,253,224,155,178,244,183,255,241,253,224,155,178,244,183,255,241,253,225,156,178,244,184,255,241,253,225,157,178,244,184,255,241,253,226,158,179,244,185,255,242,253,227,158,179,244,185,255,242,253,228,159,180,245,186,255,242,253,228,159,180,245,186,255,242,253,229,160,181,245,187,255,242,253,229,160,181,245,187,255,242,253,230,161,182,246,188,255,243,253,230,162,182,246,188,255,243,253,231,163,183,246,189,255,243,253,231,163,183,246,189,255,243,253,232,164,184,247,190,255,243,253,232,164,184,247,190,255,243,253,233,165,185,247,191,255,244,253,233,165,185,247,191,255,244,253,234,166,185,247,192,255,244,253,234,167,185,247,192,255,244,253,235,168,186,248,193,255,244,253,235,168,186,248,193,255,244,253,236,169,187,248,194,255,244,253,236,169,187,248,194,255,244,253,236,170,188,248,195,255,245,253,236,170,188,248,195,255,245,253,237,171,189,249,196,255,245,254,237,172,189,249,196,255,245,254,238,173,190,249,197,255,245,254,238,173,190,249,197,255,245,254,239,174,191,249,198,255,245,254,239,174,191,249,198,255,245,254,240,175,192,249,199,255,246,254,240,176,192,249,199,255,246,254,240,177,193,250,200,255,246,254,240,177,193,250,200,255,246,254,241,178,194,250,201,255,246,254,241,178,194,250,201,255,246,254,242,179,195,250,202,255,246,254,242,180,195,250,202,255,246,254,242,181,196,250,203,255,247,254,242,181,196,250,203,255,247,254,243,182,197,251,204,255,247,254,243,183,197,251,204,255,247,254,244,184,198,251,205,255,247,254,244,184,198,251,205,255,247,254,244,185,199,251,206,255,247,254,244,185,199,251,206,255,247,254,245,186,200,251,207,255,247,254,245,187,200,251,207,255,247,254,246,188,201,252,207,255,248,254,246,188,201,252,207,255,248,254,246,189,202,252,208,255,248,254,246,190,202,252,208,255,248,254,247,191,203,252,209,255,248,254,247,191,203,252,209,255,248,254,247,192,204,252,210,255,248,254,247,193,204,252,210,255,248,254,248,194,205,252,211,255,248,254,248,194,205,252,211,255,248,254,248,195,206,252,212,255,249,254,248,196,206,252,212,255,249,254,249,197,207,253,213,255,249,254,249,197,207,253,213,255,249,254,249,198,208,253,214,255,249,254,249,199,209,253,214,255,249,254,250,200,210,253,215,255,249,254,250,200,210,253,215,255,249,254,250,201,211,253,215,255,249,254,250,202,211,253,215,255,249,254,250,203,212,253,216,255,249,254,250,203,212,253,216,255,249,254,251,204,213,253,217,255,250,254,251,205,213,253,217,255,250,254,251,206,214,254,218,255,250,254,251,206,215,254,218,255,250,254,252,207,216,254,219,255,250,254,252,208,216,254,219,255,250,254,252,209,217,254,220,255,250,254,252,210,217,254,220,255,250,254,252,211,218,254,221,255,250,254,252,212,218,254,221,255,250,254,253,213,219,254,222,255,250,254,253,213,220,254,222,255,250,254,253,214,221,254,223,255,250,254,253,215,221,254,223,255,250,254,253,216,222,254,224,255,251,254,253,217,223,254,224,255,251,254,253,218,224,254,225,255,251,254,253,219,224,254,225,255,251,254,254,220,225,254,225,255,251,254,254,221,226,254,225,255,251,254,254,222,227,255,226,255,251,254,254,223,227,255,226,255,251,254,254,224,228,255,227,255,251,254,254,225,229,255,227,255,251,254,254,226,230,255,228,255,251,254,254,227,230,255,229,255,251,254,255,228,231,255,230,255,251,254,255,229,232,255,230,255,251,254,255,230,233,255,231,255,252,254,255,231,234,255,231,255,252,254,255,232,235,255,232,255,252,254,255,233,236,255,232,255,252,254,255,235,237,255,233,255,252,254,255,236,238,255,234,255,252,254,255,238,240,255,235,255,252,255,255,239,241,255,235,255,252,254,255,241,243,255,236,255,252,254,255,243,245,255,237,255,252,254,255,246,247,255,239,255,253,255,195,29,183,84,49,136,8,42,71,0,0,0,0,0,0,0,0,0,31,107,169,35,99,159,17,82,140,8,66,114,2,44,76,1,19,32,40,132,201,29,114,187,13,91,157,7,75,127,3,58,95,1,28,47,69,142,221,42,122,201,15,91,159,6,67,121,1,42,77,1,17,31,102,148,228,67,117,204,17,82,154,6,59,114,2,39,75,1,15,29,156,57,233,119,57,212,58,48,163,29,40,124,12,30,81,3,12,31,191,107,226,124,117,204,25,99,155,0,0,0,0,0,0,0,0,0,29,148,210,37,126,194,8,93,157,2,68,118,1,39,69,1,17,33,41,151,213,27,123,193,3,82,144,1,58,105,1,32,60,1,13,26,59,159,220,23,126,198,4,88,151,1,66,114,1,38,71,1,18,34,114,136,232,51,114,207,11,83,155,3,56,105,1,33,65,1,17,34,149,65,234,121,57,215,61,49,166,28,36,114,12,25,76,3,16,42,214,49,220,132,63,188,42,65,137,0,0,0,0,0,0,0,0,0,85,137,221,104,131,216,49,111,192,21,87,155,2,49,87,1,16,28,89,163,230,90,137,220,29,100,183,10,70,135,2,42,81,1,17,33,108,167,237,55,133,222,15,97,179,4,72,135,1,45,85,1,19,38,124,146,240,66,124,224,17,88,175,4,58,122,1,36,75,1,18,37,141,79,241,126,70,227,66,58,182,30,44,136,12,34,96,2,20,47,229,99,249,143,111,235,46,109,192,0,0,0,0,0,0,0,0,0,82,158,236,94,146,224,25,117,191,9,87,149,3,56,99,1,33,57,83,167,237,68,145,222,10,103,177,2,72,131,1,41,79,1,20,39,99,167,239,47,141,224,10,104,178,2,73,133,1,44,85,1,22,47,127,145,243,71,129,228,17,93,177,3,61,124,1,41,84,1,21,52,157,78,244,140,72,231,69,58,184,31,44,137,14,38,105,8,23,61,125,34,187,52,41,133,6,31,56,0,0,0,0,0,0,0,0,0,37,109,153,51,102,147,23,87,128,8,67,101,1,41,63,1,19,29,31,154,185,17,127,175,6,96,145,2,73,114,1,51,82,1,28,45,23,163,200,10,131,185,2,93,148,1,67,111,1,41,69,1,14,24,29,176,217,12,145,201,3,101,156,1,69,111,1,39,63,1,14,23,57,192,233,25,154,215,6,109,167,3,78,118,1,48,69,1,21,29,202,105,245,108,106,216,18,90,144,0,0,0,0,0,0,0,0,0,33,172,219,64,149,206,14,117,177,5,90,141,2,61,95,1,37,57,33,179,220,11,140,198,1,89,148,1,60,104,1,33,57,1,12,21,30,181,221,8,141,198,1,87,145,1,58,100,1,31,55,1,12,20,32,186,224,7,142,198,1,86,143,1,58,100,1,31,55,1,12,22,57,192,227,20,143,204,3,96,154,1,68,112,1,42,69,1,19,32,212,35,215,113,47,169,29,48,105,0,0,0,0,0,0,0,0,0,74,129,203,106,120,203,49,107,178,19,84,144,4,50,84,1,15,25,71,172,217,44,141,209,15,102,173,6,76,133,2,51,89,1,24,42,64,185,231,31,148,216,8,103,175,3,74,131,1,46,81,1,18,30,65,196,235,25,157,221,5,105,174,1,67,120,1,38,69,1,15,30,65,204,238,30,156,224,7,107,177,2,70,124,1,42,73,1,18,34,225,86,251,144,104,235,42,99,181,0,0,0,0,0,0,0,0,0,85,175,239,112,165,229,29,136,200,12,103,162,6,77,123,2,53,84,75,183,239,30,155,221,3,106,171,1,74,128,1,44,76,1,17,28,73,185,240,27,159,222,2,107,172,1,75,127,1,42,73,1,17,29,62,190,238,21,159,222,2,107,172,1,72,122,1,40,71,1,18,32,61,199,240,27,161,226,4,113,180,1,76,129,1,46,80,1,23,41,7,27,153,5,30,95,1,16,30,0,0,0,0,0,0,0,0,0,50,75,127,57,75,124,27,67,108,10,54,86,1,33,52,1,12,18,43,125,151,26,108,148,7,83,122,2,59,89,1,38,60,1,17,27,23,144,163,13,112,154,2,75,117,1,50,81,1,31,51,1,14,23,18,162,185,6,123,171,1,78,125,1,51,86,1,31,54,1,14,23,15,199,227,3,150,204,1,91,146,1,55,95,1,30,53,1,11,20,19,55,240,19,59,196,3,52,105,0,0,0,0,0,0,0,0,0,41,166,207,104,153,199,31,123,181,14,101,152,5,72,106,1,36,52,35,176,211,12,131,190,2,88,144,1,60,101,1,36,60,1,16,28,28,183,213,8,134,191,1,86,142,1,56,96,1,30,53,1,12,20,20,190,215,4,135,192,1,84,139,1,53,91,1,28,49,1,11,20,13,196,216,2,137,192,1,86,143,1,57,99,1,32,56,1,13,24,211,29,217,96,47,156,22,43,87,0,0,0,0,0,0,0,0,0,78,120,193,111,116,186,46,102,164,15,80,128,2,49,76,1,18,28,71,161,203,42,132,192,10,98,150,3,69,109,1,44,70,1,18,29,57,186,211,30,140,196,4,93,146,1,62,102,1,38,65,1,16,27,47,199,217,14,145,196,1,88,142,1,57,98,1,36,62,1,15,26,26,219,229,5,155,207,1,94,151,1,60,104,1,36,62,1,16,28,233,29,248,146,47,220,43,52,140,0,0,0,0,0,0,0,0,0,100,163,232,179,161,222,63,142,204,37,113,174,26,89,137,18,68,97,85,181,230,32,146,209,7,100,164,3,71,121,1,45,77,1,18,30,65,187,230,20,148,207,2,97,159,1,68,116,1,40,70,1,14,29,40,194,227,8,147,204,1,94,155,1,65,112,1,39,66,1,14,26,16,208,228,3,151,207,1,98,160,1,67,117,1,41,74,1,17,31,17,38,140,7,34,80,1,17,29,0,0,0,0,0,0,0,0,0,37,75,128,41,76,128,26,66,116,12,52,94,2,32,55,1,10,16,50,127,154,37,109,152,16,82,121,5,59,85,1,35,54,1,13,20,40,142,167,17,110,157,2,71,112,1,44,72,1,27,45,1,11,17,30,175,188,9,124,169,1,74,116,1,48,78,1,30,49,1,11,18,10,222,223,2,150,194,1,83,128,1,48,79,1,27,45,1,11,17,36,41,235,29,36,193,10,27,111,0,0,0,0,0,0,0,0,0,85,165,222,177,162,215,110,135,195,57,113,168,23,83,120,10,49,61,85,190,223,36,139,200,5,90,146,1,60,103,1,38,65,1,18,30,72,202,223,23,141,199,2,86,140,1,56,97,1,36,61,1,16,27,55,218,225,13,145,200,1,86,141,1,57,99,1,35,61,1,13,22,15,235,212,1,132,184,1,84,139,1,57,97,1,34,56,1,14,23,181,21,201,61,37,123,10,38,71,0,0,0,0,0,0,0,0,0,47,106,172,95,104,173,42,93,159,18,77,131,4,50,81,1,17,23,62,147,199,44,130,189,28,102,154,18,75,115,2,44,65,1,12,19,55,153,210,24,130,194,3,93,146,1,61,97,1,31,50,1,10,16,49,186,223,17,148,204,1,96,142,1,53,83,1,26,44,1,11,17,13,217,212,2,136,180,1,78,124,1,50,83,1,29,49,1,14,23,197,13,247,82,17,222,25,17,162,0,0,0,0,0,0,0,0,0,126,186,247,234,191,243,176,177,234,104,158,220,66,128,186,55,90,137,111,197,242,46,158,219,9,104,171,2,65,125,1,44,80,1,17,91,104,208,245,39,168,224,3,109,162,1,79,124,1,50,102,1,43,102,84,220,246,31,177,231,2,115,180,1,79,134,1,55,77,1,60,79,43,243,240,8,180,217,1,115,166,1,84,121,1,51,67,1,16,6,137,30,42,148,151,207,70,52,91,92,45,102,136,116,180,74,90,100,73,32,19,187,222,215,46,34,100,91,30,32,116,121,186,93,86,94,72,35,36,149,68,206,68,63,105,73,31,28,138,57,124,55,122,151,67,23,21,140,126,197,40,37,171,86,27,28,128,154,212,45,43,53,74,32,27,107,86,160,63,134,102,59,67,44,140,161,202,78,67,119,63,36,126,146,123,158,60,90,96,43,46,168,134,107,128,69,142,92,44,29,68,159,201,177,50,57,77,58,38,76,114,97,172,78,133,92,46,41,76,140,63,184,69,112,57,38,32,85,140,46,112,54,151,133,39,27,61,131,110,175,44,75,136,52,30,74,113,130,175,51,64,58,47,35,80,100,74,143,64,163,74,36,61,116,114,128,162,80,125,82,82,26,26,171,208,204,44,32,105,55,44,68,166,179,192,57,57,108,42,26,11,199,241,228,23,15,85,68,42,19,131,160,199,55,52,83,58,50,25,139,115,232,39,52,118,50,35,33,153,104,162,64,59,131,44,24,16,150,177,202,33,19,156,55,27,12,153,203,218,26,27,49,53,49,21,110,116,168,59,80,76,38,72,19,168,203,212,50,50,107,103,26,36,129,132,201,83,80,93,59,38,83,112,103,162,98,136,90,62,30,23,158,200,207,59,57,50,67,30,29,84,86,191,102,91,59,60,32,33,112,71,220,64,89,104,53,26,34,130,56,149,84,120,103,53,21,23,133,109,210,56,77,172,77,19,29,112,142,228,55,66,36,61,29,29,93,97,165,83,175,162,47,47,43,114,137,181,100,99,95,69,23,29,128,83,199,46,44,101,53,40,55,139,69,183,61,80,110,40,29,19,161,180,207,43,24,91,60,34,19,105,61,198,53,64,89,52,31,22,158,40,209,58,62,89,44,31,29,147,46,158,56,102,198,35,19,12,135,87,209,41,45,167,55,25,21,118,95,215,38,39,66,51,38,25,113,58,164,70,93,97,47,54,34,146,108,203,72,103,151,64,19,37,156,66,138,49,95,133,46,27,80,150,55,124,55,121,135,36,23,27,165,149,166,54,64,118,53,21,36,131,63,163,60,109,81,40,26,35,154,40,185,51,97,123,35,19,34,179,19,97,48,129,124,36,20,26,136,62,164,33,77,154,45,18,32,130,90,157,40,79,91,45,26,28,129,45,129,49,147,123,38,44,51,136,74,162,57,97,121,75,17,22,136,138,185,32,34,166,56,39,58,133,117,173,48,53,187,35,21,12,161,212,207,20,23,145,56,29,19,117,109,181,55,68,112,47,29,17,153,64,220,59,51,114,46,16,24,136,76,147,41,64,172,34,17,11,108,152,187,13,15,209,51,24,14,115,133,209,32,26,104,55,30,18,122,79,179,44,88,116,37,49,25,129,168,164,41,54,148,82,22,32,127,143,213,39,41,70,62,44,61,123,105,189,48,57,64,47,25,17,175,222,220,24,30,86,68,36,17,106,102,206,59,74,74,57,39,23,151,68,216,55,63,58,49,30,35,141,70,168,82,40,115,51,25,15,136,129,202,38,35,139,68,26,16,111,141,215,29,28,28,59,39,19,114,75,180,77,104,42,40,61,26,126,152,206,61,59,93,78,23,39,111,117,170,74,124,94,48,34,86,101,92,146,78,179,134,47,22,24,138,187,178,68,69,59,56,25,33,105,112,187,95,177,129,48,31,27,114,63,183,82,116,56,43,28,37,121,63,123,61,192,169,42,17,24,109,97,177,56,76,122,58,18,28,105,139,182,70,92,63,46,23,32,74,86,150,67,183,88,36,38,48,92,122,165,88,137,91,65,70,60,155,159,199,61,60,81,44,78,115,132,119,173,71,112,93,39,38,21,184,227,206,42,32,64,58,47,36,124,137,193,80,82,78,49,50,35,144,95,205,63,78,59,41,53,52,148,71,142,65,128,51,40,36,28,143,143,202,40,55,137,52,34,29,129,183,227,42,35,43,42,44,44,104,105,164,64,130,80,43,81,53,140,169,204,68,84,72,144,11,54,157,195,130,46,58,108,118,15,123,148,131,101,44,93,131,113,12,23,188,226,142,26,32,125,120,11,50,123,163,135,64,77,103,113,9,36,155,111,157,32,44,161,116,9,55,176,76,96,37,61,149,115,9,28,141,161,167,21,25,193,120,12,32,145,195,142,32,38,86,116,12,64,120,140,125,49,115,121,102,19,66,162,182,122,35,59,128,158,97,94,93,24,99,85,119,44,62,59,67,149,53,53,94,20,48,83,53,24,52,18,18,150,40,39,78,12,26,67,33,11,24,7,5,174,35,49,68,11,27,57,15,9,12,3,3,0,2,247,4,255,6,8,12,254,10,252,251,253,14,248,16,250,249,254,2,0,4,255,253,0,2,255,4,254,253,0,2,255,254,120,7,76,176,208,126,28,54,103,48,12,154,155,139,90,34,117,119,67,6,25,204,243,158,13,21,96,97,5,44,131,176,139,48,68,97,83,5,42,156,111,152,26,49,152,80,5,58,178,74,83,33,62,145,86,5,32,154,192,168,14,22,163,85,5,32,156,216,148,19,29,73,77,7,64,116,132,122,37,126,120,101,21,107,181,192,103,19,67,125,65,32,18,144,162,194,41,51,98,132,68,18,165,217,196,45,40,78,173,80,19,176,240,193,64,35,46,221,135,38,194,248,121,96,85,29,199,122,141,147,63,159,148,133,118,121,104,114,174,73,87,92,41,83,82,99,50,53,39,39,177,58,59,68,26,63,52,79,25,17,14,12,222,34,30,72,16,44,58,32,12,10,7,6,239,183,119,96,41,50,126,123,221,226,33,16,77,74,142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,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,32,64,96,128,224,144,192,168,192,176,192,198,198,245,216,136,140,148,160,176,192,224,234,234,240,128,128,64,96,112,64,64,96,64,160,128,128,216,128,176,160,176,176,192,198,198,208,208,136,140,148,160,176,192,224,234,234,240,128,128,64,96,112,64,64,96,64,160,128,2,4,6,8,10,12,0,255,254,253,252,251,250,249,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,108,102,95,115,121,110,99,45,62,108,102,100,97,116,97,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,108,102,95,115,121,110,99,45,62,99,117,114,95,115,98,95,99,111,108,0,1,1,2,2,2,4,4,4,8,8,8,16,16,1,2,1,2,4,2,4,8,4,8,16,8,16,1,1,1,1,1,2,2,2,4,4,4,8,8,1,1,1,1,2,1,2,4,2,4,8,4,8,0,1,2,3,4,5,6,7,8,9,10,11,12,13,13,13,2,13,13,5,13,13,8,13,13,11,13,13,13,1,13,13,4,13,13,7,13,13,10,13,13,13,0,13,13,3,13,13,6,13,13,9,0,0,0,1,1,1,2,2,2,3,3,3,3,0,1,2,3,3,0,13,13,13,1,0,13,13,2,13,0,13,3,2,1,0,4,3,13,1,5,13,3,2,6,5,4,3,7,6,13,4,8,13,6,5,9,8,7,6,10,9,13,7,11,13,9,8,12,11,10,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,0,0,0,1,0,1,0,1,0,1,1,1,0,1,1,0,0,0,0,1,1,1,1,2,1,1,1,2,1,1,1,0,0,0,0,1,1,1,1,2,2,1,1,2,2,1,1,0,0,0,0,1,1,1,1,2,1,2,1,2,1,2,1,0,0,0,0,1,1,1,1,2,2,2,2,3,2,2,2,0,0,0,0,1,1,1,1,2,2,2,2,3,3,2,2,0,0,0,0,1,1,1,1,2,2,2,2,3,2,3,2,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,15,15,15,14,14,15,14,14,14,12,12,14,12,12,12,8,8,12,8,8,8,0,0,8,0,0,87,101,98,77,32,80,114,111,106,101,99,116,32,86,80,57,32,68,101,99,111,100,101,114,32,118,49,46,54,46,49,45,49,45,103,51,48,49,99,48,54,101,57,101,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,102,114,97,109,101,95,119,111,114,107,101,114,115,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,102,114,97,109,101,95,119,111,114,107,101,114,95,100,97,116,97,0,70,114,97,109,101,32,87,111,114,107,101,114,32,116,104,114,101,97,100,32,99,114,101,97,116,105,111,110,32,102,97,105,108,101,100,0,70,97,105,108,101,100,32,116,111,32,105,110,105,116,105,97,108,105,122,101,32,105,110,116,101,114,110,97,108,32,102,114,97,109,101,32,98,117,102,102,101,114,115,0,70,114,97,109,101,32,111,117,116,112,117,116,32,99,97,99,104,101,32,105,115,32,102,117,108,108,46,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,115,105,122,101,32,105,110,32,105,110,100,101,120,0,70,97,105,108,101,100,32,116,111,32,114,101,97,108,108,111,99,97,116,101,32,115,99,114,97,116,99,104,32,98,117,102,102,101,114,0,78,111,116,32,115,117,112,112,111,114,116,101,100,32,105,110,32,102,114,97,109,101,32,112,97,114,97,108,108,101,108,32,100,101,99,111,100,101,0,73,110,118,97,108,105,100,32,117,115,97,103,101,32,111,102,32,115,101,103,101,109,101,110,116,32,102,101,97,116,117,114,101,32,111,110,32,115,109,97,108,108,32,98,108,111,99,107,115,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,109,97,114,107,101,114,0,85,110,115,117,112,112,111,114,116,101,100,32,98,105,116,115,116,114,101,97,109,32,112,114,111,102,105,108,101,0,66,117,102,102,101,114,32,37,100,32,100,111,101,115,32,110,111,116,32,99,111,110,116,97,105,110,32,97,32,100,101,99,111,100,101,100,32,102,114,97,109,101,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,115,121,110,99,32,99,111,100,101,0,70,97,105,108,101,100,32,116,111,32,100,101,99,111,100,101,32,102,114,97,109,101,32,115,105,122,101,0,73,110,118,97,108,105,100,32,102,114,97,109,101,32,115,105,122,101,0,82,101,102,101,114,101,110,99,101,100,32,102,114,97,109,101,32,104,97,115,32,105,110,118,97,108,105,100,32,115,105,122,101,0,82,101,102,101,114,101,110,99,101,100,32,102,114,97,109,101,32,104,97,115,32,105,110,99,111,109,112,97,116,105,98,108,101,32,99,111,108,111,114,32,102,111,114,109,97,116,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,102,114,97,109,101,32,98,117,102,102,101,114,0,1,0,2,3,75,101,121,102,114,97,109,101,32,47,32,105,110,116,114,97,45,111,110,108,121,32,102,114,97,109,101,32,114,101,113,117,105,114,101,100,32,116,111,32,114,101,115,101,116,32,100,101,99,111,100,101,114,32,115,116,97,116,101,0,73,110,118,97,108,105,100,32,110,117,109,98,101,114,32,111,102,32,116,105,108,101,32,99,111,108,117,109,110,115,0,73,110,118,97,108,105,100,32,104,101,97,100,101,114,32,115,105,122,101,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,32,111,114,32,99,111,114,114,117,112,116,32,104,101,97,100,101,114,32,108,101,110,103,116,104,0,85,110,105,110,105,116,105,97,108,105,122,101,100,32,101,110,116,114,111,112,121,32,99,111,110,116,101,120,116,46,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,98,111,111,108,32,100,101,99,111,100,101,114,32,48,0,68,101,99,111,100,101,32,102,97,105,108,101,100,46,32,70,114,97,109,101,32,100,97,116,97,32,104,101,97,100,101,114,32,105,115,32,99,111,114,114,117,112,116,101,100,46,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,112,98,105,45,62,116,105,108,101,95,119,111,114,107,101,114,95,100,97,116,97,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,112,98,105,45,62,116,105,108,101,95,119,111,114,107,101,114,115,0,84,105,108,101,32,100,101,99,111,100,101,114,32,116,104,114,101,97,100,32,99,114,101,97,116,105,111,110,32,102,97,105,108,101,100,0,68,101,99,111,100,101,32,102,97,105,108,101,100,46,32,70,114,97,109,101,32,100,97,116,97,32,105,115,32,99,111,114,114,117,112,116,101,100,46,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,112,98,105,45,62,108,102,95,119,111,114,107,101,114,46,100],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+20480);allocate([97,116,97,49,0,76,111,111,112,32,102,105,108,116,101,114,32,116,104,114,101,97,100,32,99,114,101,97,116,105,111,110,32,102,97,105,108,101,100,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,32,111,114,32,99,111,114,114,117,112,116,32,116,105,108,101,32,108,101,110,103,116,104,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,98,111,111,108,32,100,101,99,111,100,101,114,32,37,100,0,70,97,105,108,101,100,32,116,111,32,100,101,99,111,100,101,32,116,105,108,101,32,100,97,116,97,0,73,110,118,97,108,105,100,32,98,108,111,99,107,32,115,105,122,101,46,0,82,101,102,101,114,101,110,99,101,32,102,114,97,109,101,32,104,97,115,32,105,110,118,97,108,105,100,32,100,105,109,101,110,115,105,111,110,115,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,32,111,114,32,99,111,114,114,117,112,116,32,116,105,108,101,32,115,105,122,101,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,99,111,110,116,101,120,116,32,98,117,102,102,101,114,115,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,99,109,45,62,99,117,114,95,102,114,97,109,101,45,62,109,118,115,0,52,58,50,58,48,32,99,111,108,111,114,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,105,110,32,112,114,111,102,105,108,101,32,49,32,111,114,32,51,0,82,101,115,101,114,118,101,100,32,98,105,116,32,115,101,116,0,52,58,52,58,52,32,99,111,108,111,114,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,105,110,32,112,114,111,102,105,108,101,32,48,32,111,114,32,50,0,84,114,117,110,99,97,116,101,100,32,112,97,99,107,101,116,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,99,109,45,62,102,99,0,70,97,105,108,101,100,32,116,111,32,97,108,108,111,99,97,116,101,32,99,109,45,62,102,114,97,109,101,95,99,111,110,116,101,120,116,115,0,78,111,32,39,108,97,115,116,39,32,114,101,102,101,114,101,110,99,101,32,102,114,97,109,101,0,73,110,99,111,114,114,101,99,116,32,98,117,102,102,101,114,32,100,105,109,101,110,115,105,111,110,115,0,73,110,118,97,108,105,100,32,114,101,102,101,114,101,110,99,101,32,102,114,97,109,101,0,73,110,118,97,108,105,100,32,114,101,102,101,114,101,110,99,101,32,102,114,97,109,101,32,109,97,112,0,85,110,97,98,108,101,32,116,111,32,102,105,110,100,32,102,114,101,101,32,102,114,97,109,101,32,98,117,102,102,101,114,0,7,20,33,46,59,72,85,98,111,124,137,150,163,176,189,202,215,228,241,254,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,44,45,47,48,49,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,104,105,106,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,149,151,152,153,154,155,156,157,158,159,160,161,162,164,165,166,167,168,169,170,171,172,173,174,175,177,178,179,180,181,182,183,184,185,186,187,188,190,191,192,193,194,195,196,197,198,199,200,201,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,220,221,222,223,224,225,226,227,229,230,231,232,233,234,235,236,237,238,239,240,242,243,244,245,246,247,248,249,250,251,252,253,253,86,80,88,32,112,114,111,99,101,115,115,95,104,101,97,100,101,114,32,115,104,111,117,108,100,32,110,111,116,32,104,97,112,112,101,110,63,0,103,111,116,32,109,117,108,116,105,112,108,101,32,102,114,97,109,101,115,32,102,114,111,109,32,86,80,57,32,115,116,114,101,97,109,32,117,110,101,120,112,101,99,116,101,100,108,121,63,0,83,107,105,112,112,105,110,103,32,102,114,97,109,101,32,119,105,116,104,32,117,110,107,110,111,119,110,32,112,105,99,116,117,114,101,32,116,121,112,101,32,37,100,10,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+30720);var tempDoublePtr=STATICTOP;STATICTOP+=16;Module["_i64Subtract"]=_i64Subtract;Module["_i64Add"]=_i64Add;Module["_memset"]=_memset;Module["_bitshift64Lshr"]=_bitshift64Lshr;Module["_bitshift64Shl"]=_bitshift64Shl;function _abort(){Module["abort"]()}function _realloc(){throw"bad"}Module["_realloc"]=_realloc;Module["_saveSetjmp"]=_saveSetjmp;Module["_testSetjmp"]=_testSetjmp;function _longjmp(env,value){Module["setThrew"](env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}Module["_memcpy"]=_memcpy;var SYSCALLS={varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);Module["_llvm_cttz_i32"]=_llvm_cttz_i32;Module["___udivmoddi4"]=___udivmoddi4;Module["___udivdi3"]=___udivdi3;Module["___muldsi3"]=___muldsi3;Module["___muldi3"]=___muldi3;function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}Module["_sbrk"]=_sbrk;Module["_memmove"]=_memmove;Module["___uremdi3"]=___uremdi3;Module["_llvm_bswap_i32"]=_llvm_bswap_i32;function _ogvjs_callback_frame(bufferY,strideY,bufferCb,strideCb,bufferCr,strideCr,width,height,chromaWidth,chromaHeight){var HEAPU8=Module.HEAPU8,format=Module.videoFormat,countBytesY=strideY*height,countBytesCb=strideCb*chromaHeight,countBytesCr=strideCr*chromaHeight;Module.frameBuffer={format:{width:width,height:height,chromaWidth:chromaWidth,chromaHeight:chromaHeight,cropLeft:format.cropLeft,cropTop:format.cropTop,cropWidth:format.cropWidth,cropHeight:format.cropHeight,displayWidth:format.displayWidth,displayHeight:format.displayHeight},y:{bytes:copyByteArray(HEAPU8.subarray(bufferY,bufferY+countBytesY)),stride:strideY},u:{bytes:copyByteArray(HEAPU8.subarray(bufferCb,bufferCb+countBytesCb)),stride:strideCb},v:{bytes:copyByteArray(HEAPU8.subarray(bufferCr,bufferCr+countBytesCr)),stride:strideCr}}}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;assert(offset_high===0);FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.get(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();var ret=0;if(!___syscall146.buffer){___syscall146.buffers=[null,[],[]];___syscall146.printChar=(function(stream,curr){var buffer=___syscall146.buffers[stream];assert(buffer);if(curr===0||curr===10){(stream===1?Module["print"]:Module["printErr"])(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}})}for(var i=0;i<iovcnt;i++){var ptr=HEAP32[iov+i*8>>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j<len;j++){___syscall146.printChar(stream,HEAPU8[ptr+j])}ret+=len}return ret}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}__ATEXIT__.push((function(){var fflush=Module["_fflush"];if(fflush)fflush(0);var printChar=___syscall146.printChar;if(!printChar)return;var buffers=___syscall146.buffers;if(buffers[1].length)printChar(1,10);if(buffers[2].length)printChar(2,10)}));DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){try{Module["dynCall_viiiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_i(index){try{return Module["dynCall_i"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_iiii":invoke_iiii,"invoke_viiiiiiiiii":invoke_viiiiiiiiii,"invoke_i":invoke_i,"invoke_vi":invoke_vi,"invoke_vii":invoke_vii,"invoke_ii":invoke_ii,"invoke_v":invoke_v,"invoke_iiiii":invoke_iiiii,"invoke_viiiiii":invoke_viiiiii,"invoke_iii":invoke_iii,"invoke_iiiiii":invoke_iiiiii,"invoke_viiii":invoke_viiii,"_ogvjs_callback_frame":_ogvjs_callback_frame,"_longjmp":_longjmp,"___syscall6":___syscall6,"___setErrNo":___setErrNo,"_abort":_abort,"_emscripten_memcpy_big":_emscripten_memcpy_big,"___syscall54":___syscall54,"___syscall140":___syscall140,"___syscall146":___syscall146,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"cttz_i8":cttz_i8};// EMSCRIPTEN_START_ASM
var asm=(function(global,env,buffer) {
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.invoke_iiii;var aa=env.invoke_viiiiiiiiii;var ba=env.invoke_i;var ca=env.invoke_vi;var da=env.invoke_vii;var ea=env.invoke_ii;var fa=env.invoke_v;var ga=env.invoke_iiiii;var ha=env.invoke_viiiiii;var ia=env.invoke_iii;var ja=env.invoke_iiiiii;var ka=env.invoke_viiii;var la=env._ogvjs_callback_frame;var ma=env._longjmp;var na=env.___syscall6;var oa=env.___setErrNo;var pa=env._abort;var qa=env._emscripten_memcpy_big;var ra=env.___syscall54;var sa=env.___syscall140;var ta=env.___syscall146;var ua=0.0;
// EMSCRIPTEN_START_FUNCS
function Ha(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function Ia(){return l|0}function Ja(a){a=a|0;l=a}function Ka(a,b){a=a|0;b=b|0;l=a;m=b}function La(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Ma(a){a=a|0;D=a}function Na(){return D|0}function Oa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;if((f|0)==10)if((a|0)!=0&(b|0)!=0)if((c[b+4>>2]|0)==5){f=c[b+8>>2]|0;if((!((e&65536|0)!=0&(f&262144|0)==0)?!((e&131072|0)!=0&(f&524288|0)==0):0)?!((f&1|0)==0|(e&262144|0)!=0&(f&1048576|0)==0):0){f=a+8|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[a+4>>2]=b;c[a>>2]=c[b>>2];f=a+24|0;c[f>>2]=0;c[a+16>>2]=e;c[a+20>>2]=d;d=Ea[c[b+12>>2]&31](a,0)|0;if(!d)g=0;else{b=c[f>>2]|0;if(!b)h=0;else h=c[b>>2]|0;c[a+12>>2]=h;Ra(a)|0;g=d}}else g=4}else g=3;else{i=8;j=11}else{i=3;j=11}if((j|0)==11)if(!a){k=i;return k|0}else g=i;c[a+8>>2]=g;k=g;return k|0}function Pa(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;if(!a){g=8;return g|0}if((b|0)==0^(d|0)!=0){h=c[a+4>>2]|0;if((h|0)!=0?(i=c[a+24>>2]|0,(i|0)!=0):0)j=Fa[c[h+32>>2]&3](i,b,d,e,f)|0;else j=1}else j=8;c[a+8>>2]=j;g=j;return g|0}function Qa(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!((a|0)!=0&(b|0)!=0)){d=0;return d|0}e=c[a+4>>2]|0;if(!e){d=0;return d|0}f=c[a+24>>2]|0;if(!f){d=0;return d|0}d=Ea[c[e+36>>2]&31](f,b)|0;return d|0}function Ra(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;if(!a){b=8;return b|0}d=a+4|0;e=c[d>>2]|0;if((e|0)!=0?(f=a+24|0,g=c[f>>2]|0,(g|0)!=0):0){Aa[c[e+16>>2]&7](g)|0;c[d>>2]=0;c[a>>2]=0;c[f>>2]=0;h=0}else h=1;c[a+8>>2]=h;b=h;return b|0}function Sa(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;c[b>>2]=d;d=b+4|0;c[d>>2]=0;if(e|0){c[d>>2]=1;c[h>>2]=f;sg(b+8|0,79,e,h)|0;a[b+87>>0]=0}if(!(c[b+88>>2]|0)){l=g;return}else ma(b+92|0,c[b>>2]|0)}function Ta(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=ph(a|0,0,3,0)|0;e=ph(d|0,D|0,b|0,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&e>>>0<2147418113)&((e|0)==(e|0)&(b|0)==0))){f=0;return f|0}b=ih(e)|0;e=a+-1+(b+4)&0-a;if(!b){f=0;return f|0}c[e+-4>>2]=b;f=e;return f|0}function Ua(a){a=a|0;var b=0,d=0;b=ph(a|0,0,11,0)|0;a=D;if(!((a>>>0<0|(a|0)==0&b>>>0<2147418113)&((b|0)==(b|0)&(a|0)==0))){d=0;return d|0}a=ih(b)|0;b=a+4+7&-8;if(!a){d=0;return d|0}c[b+-4>>2]=a;d=b;return d|0}function Va(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if(a|0?(d=S(b,a)|0,e=(a|0)==0,f=yh(2147418112,0,a|0,0)|0,g=D,(e?0:((d>>>0)/((e?1:a)>>>0)|0|0)!=(b|0))|(g>>>0<0|(g|0)==0&f>>>0<b>>>0)):0){h=0;return h|0}f=S(b,a)|0;a=ph(f|0,0,11,0)|0;b=D;if(!((b>>>0<0|(b|0)==0&a>>>0<2147418113)&((a|0)==(a|0)&(b|0)==0))){h=0;return h|0}b=ih(a)|0;a=b+4+7&-8;g=a;if(!b){h=0;return h|0}c[g+-4>>2]=b;if(!a){h=0;return h|0}qh(g|0,0,f|0)|0;h=g;return h|0}function Wa(a){a=a|0;if(!a)return;jh(c[a+-4>>2]|0);return}function Xa(a){a=a|0;var b=0,d=0;if(!a){b=-1;return b|0}if((c[a+72>>2]|0)>0)Wa(c[a+68>>2]|0);d=a;a=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(a|0));b=0;return b|0}function Ya(a,b,d,e,f,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;if(!a){l=-2;return l|0}m=(h|0)==0?1:h;n=b+7&-8;o=d+7&-8;p=g<<1;q=n+31+p&-32;r=p+o|0;p=Ah(q|0,((q|0)<0)<<31>>31|0,r|0,((r|0)<0)<<31>>31|0)|0;r=((h|0)<0)<<31>>31;s=ph(p|0,D|0,h|0,r|0)|0;p=D;t=n>>e;u=o>>f;v=q>>e;w=g>>e;x=g>>f;y=(x<<1)+u|0;z=Ah(v|0,((v|0)<0)<<31>>31|0,y|0,((y|0)<0)<<31>>31|0)|0;y=ph(z|0,D|0,h|0,r|0)|0;r=sh(y|0,D|0,1)|0;h=ph(r|0,D|0,s|0,p|0)|0;p=D;do if(!j){r=a+72|0;if(p>>>0>0|((p|0)==0?h>>>0>(c[r>>2]|0)>>>0:0)){z=a+68|0;Wa(c[z>>2]|0);c[z>>2]=0;if(!((h|0)==(h|0)&(p|0)==0)){l=-1;return l|0}A=Ta(32,h)|0;c[z>>2]=A;if(!A){l=-1;return l|0}else{c[r>>2]=h;qh(A|0,0,h|0)|0;break}}}else{A=ph(h|0,p|0,31,0)|0;r=D;if(!((A|0)==(A|0)&(r|0)==0)){l=-1;return l|0}if((va[j&7](k,A,i)|0)<0){l=-1;return l|0}z=c[i>>2]|0;if(!z){l=-1;return l|0}if(0<r>>>0|(0==(r|0)?(c[i+4>>2]|0)>>>0<A>>>0:0)){l=-1;return l|0}else{c[a+68>>2]=z+31&-32;break}}while(0);if(g&31|0){l=-3;return l|0}c[a+8>>2]=b;c[a+12>>2]=d;c[a>>2]=n;c[a+4>>2]=o;c[a+16>>2]=q;c[a+28>>2]=e+b>>e;c[a+32>>2]=f+d>>f;c[a+20>>2]=t;c[a+24>>2]=u;c[a+36>>2]=v;c[a+76>>2]=g;c[a+80>>2]=h;c[a+84>>2]=e;c[a+88>>2]=f;f=c[a+68>>2]|0;e=m+-1|0;h=0-m|0;c[a+52>>2]=f+(S(q,g)|0)+g+e&h;g=f+s|0;s=S(v,x)|0;c[a+56>>2]=g+s+w+e&h;c[a+60>>2]=g+y+s+w+e&h;c[a+112>>2]=0;l=0;return l|0}function Za(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;d=c[b+76>>2]|0;e=(d|0)/2|0;f=c[b+52>>2]|0;g=c[b+16>>2]|0;h=c[b+8>>2]|0;i=c[b+12>>2]|0;j=d-i+(c[b+4>>2]|0)|0;k=(c[b>>2]|0)+d|0;l=k-h|0;m=k+d|0;k=f+h|0;h=0-d|0;n=f+h|0;if((i|0)>0){o=n;p=k;q=0;r=f;s=k+-1|0;while(1){qh(o|0,a[r>>0]|0,d|0)|0;qh(p|0,a[s>>0]|0,l|0)|0;q=q+1|0;if((q|0)==(i|0))break;else{o=o+g|0;p=p+g|0;r=r+g|0;s=s+g|0}}}s=f+(S(i+-1|0,g)|0)+h|0;r=f+(S(i,g)|0)+h|0;if((d|0)>0){i=f+(S(g,h)|0)+h|0;h=0;while(1){vh(i|0,n|0,m|0)|0;h=h+1|0;if((h|0)==(d|0))break;else i=i+g|0}}if((j|0)>0){i=r;r=0;while(1){vh(i|0,s|0,m|0)|0;r=r+1|0;if((r|0)==(j|0))break;else i=i+g|0}}g=c[b+56>>2]|0;i=b+36|0;j=c[i>>2]|0;r=b+28|0;m=c[r>>2]|0;s=b+32|0;h=c[s>>2]|0;n=b+24|0;f=e-h+(c[n>>2]|0)|0;p=b+20|0;o=(c[p>>2]|0)+e|0;q=o-m|0;l=o+e|0;o=g+m|0;m=0-e|0;k=g+m|0;if((h|0)>0){t=k;u=o;v=0;w=g;x=o+-1|0;while(1){qh(t|0,a[w>>0]|0,e|0)|0;qh(u|0,a[x>>0]|0,q|0)|0;v=v+1|0;if((v|0)==(h|0))break;else{t=t+j|0;u=u+j|0;w=w+j|0;x=x+j|0}}}x=g+(S(h+-1|0,j)|0)+m|0;w=g+(S(h,j)|0)+m|0;h=(d|0)>1;if(h){d=g+(S(j,m)|0)+m|0;g=0;while(1){vh(d|0,k|0,l|0)|0;g=g+1|0;if((g|0)==(e|0))break;else d=d+j|0}}if((f|0)>0){d=w;w=0;while(1){vh(d|0,x|0,l|0)|0;w=w+1|0;if((w|0)==(f|0))break;else d=d+j|0}}j=c[b+60>>2]|0;b=c[i>>2]|0;i=c[r>>2]|0;r=c[s>>2]|0;s=e-r+(c[n>>2]|0)|0;n=(c[p>>2]|0)+e|0;p=n-i|0;d=n+e|0;n=j+i|0;i=j+m|0;if((r|0)>0){f=i;w=n;l=0;x=j;g=n+-1|0;while(1){qh(f|0,a[x>>0]|0,e|0)|0;qh(w|0,a[g>>0]|0,p|0)|0;l=l+1|0;if((l|0)==(r|0))break;else{f=f+b|0;w=w+b|0;x=x+b|0;g=g+b|0}}}g=j+(S(r+-1|0,b)|0)+m|0;x=j+(S(r,b)|0)+m|0;if(h){h=j+(S(b,m)|0)+m|0;m=0;while(1){vh(h|0,i|0,d|0)|0;m=m+1|0;if((m|0)==(e|0))break;else h=h+b|0}}if((s|0)>0){y=x;z=0}else return;while(1){vh(y|0,g|0,d|0)|0;z=z+1|0;if((z|0)==(s|0))break;else y=y+b|0}return}function _a(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=a+4|0;if((c[d>>2]|0)>0){e=a+16|0;f=b+16|0;g=c[b+52>>2]|0;h=0;i=c[a+52>>2]|0;while(1){vh(g|0,i|0,c[a>>2]|0)|0;h=h+1|0;if((h|0)>=(c[d>>2]|0))break;else{g=g+(c[f>>2]|0)|0;i=i+(c[e>>2]|0)|0}}}e=a+24|0;if((c[e>>2]|0)<=0){Za(b);return}i=a+20|0;f=a+36|0;g=b+36|0;d=c[b+56>>2]|0;h=0;j=c[a+56>>2]|0;while(1){vh(d|0,j|0,c[i>>2]|0)|0;h=h+1|0;k=c[e>>2]|0;if((h|0)>=(k|0))break;else{d=d+(c[g>>2]|0)|0;j=j+(c[f>>2]|0)|0}}if((k|0)<=0){Za(b);return}k=a+20|0;f=a+36|0;j=b+36|0;g=c[b+60>>2]|0;d=0;h=c[a+60>>2]|0;while(1){vh(g|0,h|0,c[k>>2]|0)|0;d=d+1|0;if((d|0)>=(c[e>>2]|0))break;else{g=g+(c[j>>2]|0)|0;h=h+(c[f>>2]|0)|0}}Za(b);return}function $a(){if(c[8576]|0)return;c[8576]=1;return}function ab(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;bb(0,a,b,c,d)|0;return}function bb(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;h=a[d+b>>0]|0;i=h<<24>>24;if(h<<24>>24<1)j=c[f+(0-i<<2)>>2]|0;else j=bb(i,d,e,f,g)|0;i=a[d+(b+1)>>0]|0;h=i<<24>>24;if(i<<24>>24<1)k=c[f+(0-h<<2)>>2]|0;else k=bb(h,d,e,f,g)|0;f=b>>>1;b=a[e+f>>0]|0;e=k+j|0;if(!e){l=b;m=g+f|0;a[m>>0]=l;return e|0}k=c[19488+((e>>>0<20?e:20)<<2)>>2]|0;d=sh(j|0,0,8)|0;j=ph(e>>>1|0,0,d|0,D|0)|0;d=yh(j|0,D|0,e|0,0)|0;l=((S(256-k|0,b&255)|0)+128+(S(((255-d|0)>>>23|d)&255|(d|0)==0,k)|0)|0)>>>8&255;m=g+f|0;a[m>>0]=l;return e|0}function cb(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;if(!((b|0)!=0|(e|0)==0)){h=1;return h|0}c[a+12>>2]=b+e;c[a+16>>2]=b;c[a>>2]=0;b=a+8|0;c[b>>2]=-8;e=a+4|0;c[e>>2]=255;c[a+20>>2]=f;c[a+24>>2]=g;db(a);g=((c[e>>2]<<7)+128|0)>>>8;f=c[b>>2]|0;if((f|0)<0){db(a);i=c[b>>2]|0}else i=f;f=c[a>>2]|0;j=g<<24;if(f>>>0<j>>>0){k=0;l=g;m=f}else{k=1;l=(c[e>>2]|0)-g|0;m=f-j|0}j=d[1280+l>>0]|0;c[a>>2]=m<<j;c[b>>2]=i-j;c[e>>2]=l<<j;h=k;return h|0}function db(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;b=a+16|0;e=c[b>>2]|0;f=c[a>>2]|0;g=a+8|0;h=c[g>>2]|0;i=(c[a+12>>2]|0)-e|0;j=i<<3;k=16-h|0;l=c[a+20>>2]|0;m=a+28|0;if(!l)n=e;else{Ga[l&63](c[a+24>>2]|0,e,m,i>>>0<5?i:5);n=m}m=k+8|0;if(j>>>0<=32){i=m-j|0;e=(i|0)>-1;l=e?h+1073741824|0:h;o=e?i:0;if(e&(j|0)==0|(k|0)<(o|0)){p=n;q=l;r=f}else{j=n;e=l;l=k;i=f;while(1){f=e+8|0;s=j+1|0;t=(d[j>>0]|0)<<l|i;l=l+-8|0;if((l|0)<(o|0)){p=s;q=f;r=t;break}else{j=s;e=f;i=t}}}}else{i=m&-8;e=(Eh(d[n>>0]|d[n+1>>0]<<8|d[n+2>>0]<<16|d[n+3>>0]<<24|0)|0)>>>(32-i|0);p=n+(m>>3)|0;q=i+h|0;r=e<<(k&7)|c[a>>2]}c[b>>2]=(c[b>>2]|0)+(p-n);c[a>>2]=r;c[g>>2]=q;return}function eb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+8|0;d=c[b>>2]|0;e=a+16|0;a=c[e>>2]|0;if((d+-9|0)>>>0<23){f=d;g=a}else{h=a;return h|0}do{a=f;f=f+-8|0;g=g+-1|0}while((a+-17|0)>>>0<23);c[b>>2]=f;c[e>>2]=g;h=g;return h|0}function fb(a){a=a|0;return ((c[a+8>>2]|0)+7|0)>>>3|0}function gb(a){a=a|0;var b=0,e=0,f=0,g=0,h=0;b=a+8|0;e=c[b>>2]|0;f=(c[a>>2]|0)+(e>>>3)|0;if(f>>>0<(c[a+4>>2]|0)>>>0){g=(d[f>>0]|0)>>>(e&7^7)&1;c[b>>2]=e+1;h=g;return h|0}else{ya[c[a+16>>2]&15](c[a+12>>2]|0);h=0;return h|0}return 0}function hb(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((b|0)<=0){e=0;return e|0}f=a+8|0;g=a+4|0;h=a+16|0;i=a+12|0;j=b;b=0;while(1){k=j;j=j+-1|0;l=c[f>>2]|0;m=(c[a>>2]|0)+(l>>>3)|0;if(m>>>0<(c[g>>2]|0)>>>0){n=(d[m>>0]|0)>>>(l&7^7)&1;c[f>>2]=l+1;o=n}else{ya[c[h>>2]&15](c[i>>2]|0);o=0}n=o<<j|b;if((k|0)<=1){e=n;break}else b=n}return e|0}function ib(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=a+8|0;f=a+4|0;if((b|0)>0){g=a+16|0;h=a+12|0;i=b;b=0;while(1){j=i;i=i+-1|0;k=c[e>>2]|0;l=(c[a>>2]|0)+(k>>>3)|0;if(l>>>0<(c[f>>2]|0)>>>0){m=(d[l>>0]|0)>>>(k&7^7)&1;c[e>>2]=k+1;n=m}else{ya[c[g>>2]&15](c[h>>2]|0);n=0}m=n<<i|b;if((j|0)<=1){o=m;break}else b=m}}else o=0;b=c[e>>2]|0;i=(c[a>>2]|0)+(b>>>3)|0;if(i>>>0<(c[f>>2]|0)>>>0){f=d[i>>0]|0;c[e>>2]=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0)|0)>>>2}while((g|0)!=31);a[b+31>>0]=f;g=b+c|0;e=g;h=b+1|0;i=e+30|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+30|0,f|0,2)|0;j=g+c|0;e=j;h=b+2|0;i=e+29|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+29|0,f|0,3)|0;g=j+c|0;e=g;h=b+3|0;i=e+28|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+28|0,f|0,4)|0;j=g+c|0;e=j;h=b+4|0;i=e+27|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+27|0,f|0,5)|0;g=j+c|0;e=g;h=b+5|0;i=e+26|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+26|0,f|0,6)|0;j=g+c|0;e=j;h=b+6|0;i=e+25|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+25|0,f|0,7)|0;g=j+c|0;e=g;h=b+7|0;i=e+24|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+24|0,f|0,8)|0;j=g+c|0;e=j;h=b+8|0;i=e+23|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+23|0,f|0,9)|0;g=j+c|0;e=g;h=b+9|0;i=e+22|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+22|0,f|0,10)|0;j=g+c|0;e=j;h=b+10|0;i=e+21|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+21|0,f|0,11)|0;g=j+c|0;e=g;h=b+11|0;i=e+20|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+20|0,f|0,12)|0;j=g+c|0;e=j;h=b+12|0;i=e+19|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+19|0,f|0,13)|0;g=j+c|0;e=g;h=b+13|0;i=e+18|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+18|0,f|0,14)|0;j=g+c|0;e=j;h=b+14|0;i=e+17|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+17|0,f|0,15)|0;g=j+c|0;e=g;h=b+15|0;i=e+16|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+16|0,f|0,16)|0;j=g+c|0;e=j;h=b+16|0;i=e+15|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+15|0,f|0,17)|0;g=j+c|0;e=g;h=b+17|0;i=e+14|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+14|0,f|0,18)|0;j=g+c|0;e=j;h=b+18|0;i=e+13|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+13|0,f|0,19)|0;g=j+c|0;e=g;h=b+19|0;i=e+12|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+12|0,f|0,20)|0;j=g+c|0;e=j;h=b+20|0;i=e+11|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(j+11|0,f|0,21)|0;g=j+c|0;e=g;h=b+21|0;i=e+10|0;do{a[e>>0]=a[h>>0]|0;e=e+1|0;h=h+1|0}while((e|0)<(i|0));qh(g+10|0,f|0,22)|0;j=g+c|0;e=j;h=b+22|0;i=e+9|0;do{a[e>>0]=a[h>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qh(i+3|0,f|0,29)|0;h=i+c|0;i=b+29|0;j=d[i>>0]|d[i+1>>0]<<8;a[h>>0]=j;a[h+1>>0]=j>>8;qh(h+2|0,f|0,30)|0;j=h+c|0;a[j>>0]=a[b+30>>0]|0;qh(j+1|0,f|0,31)|0;qh(j+c|0,f|0,32)|0;return}function zb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ab(a,b,8,c,d);return}function Ab(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if((e|0)>0){h=0;do{a[b+h>>0]=((d[f+(h+-1)>>0]|0)+1+(d[f+h>>0]|0)|0)>>>1;h=h+1|0}while((h|0)!=(e|0))}h=b+c|0;b=f+-1|0;a[h>>0]=((d[g>>0]|0)+2+((d[b>>0]|0)<<1)+(d[f>>0]|0)|0)>>>2;if((e|0)>1){i=1;do{a[h+i>>0]=((d[f+(i+-2)>>0]|0)+2+((d[f+(i+-1)>>0]|0)<<1)+(d[f+i>>0]|0)|0)>>>2;i=i+1|0}while((i|0)!=(e|0))}i=h+c|0;a[i>>0]=((d[b>>0]|0)+2+((d[g>>0]|0)<<1)+(d[g+1>>0]|0)|0)>>>2;if((e|0)>3){b=3;do{h=b+-2|0;a[i+(S(h,c)|0)>>0]=((d[g+(b+-3)>>0]|0)+2+((d[g+h>>0]|0)<<1)+(d[g+(b+-1)>>0]|0)|0)>>>2;b=b+1|0}while((b|0)!=(e|0))}if((e|0)<=2)return;b=(S(c,-2)|0)+-1|0;g=i;i=2;while(1){h=1;do{a[g+h>>0]=a[g+(b+h)>>0]|0;h=h+1|0}while((h|0)!=(e|0));i=i+1|0;if((i|0)==(e|0))break;else g=g+c|0}return}function Bb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ab(a,b,16,c,d);return}function Cb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ab(a,b,32,c,d);return}function Db(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Eb(a,b,8,c,d);return}function Eb(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+64|0;i=h;j=e+-2|0;k=(e|0)>2;m=e+-1|0;if(k){n=e+-3|0;o=0;do{a[i+o>>0]=((d[g+(n-o)>>0]|0)+2+((d[g+(j-o)>>0]|0)<<1)+(d[g+(m-o)>>0]|0)|0)>>>2;o=o+1|0}while((o|0)!=(j|0))}o=d[f+-1>>0]|0;n=d[g>>0]|0;a[i+j>>0]=(o+2+(n<<1)+(d[g+1>>0]|0)|0)>>>2;g=a[f>>0]|0;p=g&255;a[i+m>>0]=((o<<1)+2+n+p|0)>>>2;n=a[f+1>>0]|0;m=i+e|0;a[m>>0]=((p<<1)+o+(n&255)+2|0)>>>2;if(k){k=e+1|0;o=g;g=n;n=0;while(1){p=a[f+(n+2)>>0]|0;a[i+(k+n)>>0]=(((g&255)<<1)+(o&255)+(p&255)+2|0)>>>2;n=n+1|0;if((n|0)==(j|0))break;else{q=g;g=p;o=q}}}if((e|0)<=0){l=h;return}o=m+-1|0;m=0;do{vh(b+(S(m,c)|0)|0,o+(0-m)|0,e|0)|0;m=m+1|0}while((m|0)!=(e|0));l=h;return}function Fb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Eb(a,b,16,c,d);return}function Gb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Eb(a,b,32,c,d);return}function Hb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ib(a,b,8,c,d);return}function Ib(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=f+-1|0;a[b>>0]=((d[h>>0]|0)+1+(d[g>>0]|0)|0)>>>1;i=(e|0)>1;if(i){j=1;do{a[b+(S(j,c)|0)>>0]=((d[g+(j+-1)>>0]|0)+1+(d[g+j>>0]|0)|0)>>>1;j=j+1|0}while((j|0)!=(e|0))}j=b+1|0;a[j>>0]=((d[g>>0]|0)+2+((d[h>>0]|0)<<1)+(d[f>>0]|0)|0)>>>2;a[j+c>>0]=((d[h>>0]|0)+2+((d[g>>0]|0)<<1)+(d[g+1>>0]|0)|0)>>>2;h=(e|0)>2;if(h){k=2;do{a[j+(S(k,c)|0)>>0]=((d[g+(k+-2)>>0]|0)+2+((d[g+(k+-1)>>0]|0)<<1)+(d[g+k>>0]|0)|0)>>>2;k=k+1|0}while((k|0)!=(e|0));k=b+2|0;g=e+-2|0;if(h){h=0;do{j=h;h=h+1|0;a[k+j>>0]=((d[f+(j+-1)>>0]|0)+2+((d[f+j>>0]|0)<<1)+(d[f+h>>0]|0)|0)>>>2}while((h|0)!=(g|0));l=k;m=g}else{l=k;m=g}}else{l=b+2|0;m=e+-2|0}if(!i)return;i=-2-c|0;if((e|0)==2)return;else{n=l;o=1}do{n=n+c|0;l=0;do{a[n+l>>0]=a[n+(i+l)>>0]|0;l=l+1|0}while((l|0)<(m|0));o=o+1|0}while((o|0)!=(e|0));return}function Jb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ib(a,b,16,c,d);return}function Kb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ib(a,b,32,c,d);return}function Lb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;f=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[b>>0]=f;a[b+1>>0]=f>>8;a[b+2>>0]=f>>16;a[b+3>>0]=f>>24;f=b+c|0;b=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;b=f+c|0;f=d[e>>0]|d[e+1>>0]<<8|d[e+2>>0]<<16|d[e+3>>0]<<24;a[b>>0]=f;a[b+1>>0]=f>>8;a[b+2>>0]=f>>16;a[b+3>>0]=f>>24;f=b+c|0;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16;a[c+3>>0]=h>>24;h=e+4|0;a[h>>0]=f;a[h+1>>0]=f>>8;a[h+2>>0]=f>>16;a[h+3>>0]=f>>24;return}function Nb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=b+c|0;f=d;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));return}function Ob(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));h=b+c|0;e=h;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));b=h+c|0;e=b;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=b+c|0;f=d;g=e+32|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));return}function Pb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;qh(b|0,a[e>>0]|0,4)|0;d=b+c|0;qh(d|0,a[e+1>>0]|0,4)|0;b=d+c|0;qh(b|0,a[e+2>>0]|0,4)|0;qh(b+c|0,a[e+3>>0]|0,4)|0;return}function Qb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;qh(b|0,a[e>>0]|0,8)|0;d=b+c|0;qh(d|0,a[e+1>>0]|0,8)|0;b=d+c|0;qh(b|0,a[e+2>>0]|0,8)|0;d=b+c|0;qh(d|0,a[e+3>>0]|0,8)|0;b=d+c|0;qh(b|0,a[e+4>>0]|0,8)|0;d=b+c|0;qh(d|0,a[e+5>>0]|0,8)|0;b=d+c|0;qh(b|0,a[e+6>>0]|0,8)|0;qh(b+c|0,a[e+7>>0]|0,8)|0;return}function Rb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;qh(b|0,a[e>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h=e+1|0;i=e+2|0;j=e+3|0;k=e+4|0;l=e+5|0;m=e+6|0;n=e+7|0;o=b;b=0;while(1){p=f+b|0;q=(d[p>>0]|0)-g+(d[e>>0]|0)|0;a[o>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[h>>0]|0)|0;a[o+1>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[i>>0]|0)|0;a[o+2>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[j>>0]|0)|0;a[o+3>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[k>>0]|0)|0;a[o+4>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[l>>0]|0)|0;a[o+5>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[m>>0]|0)|0;a[o+6>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;q=(d[p>>0]|0)-g+(d[n>>0]|0)|0;a[o+7>>0]=(q|0)>255?-1:((q|0)>0?q:0)&255;b=b+1|0;if((b|0)==8)break;else o=o+c|0}return}function Vb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=d[e+-1>>0]|0;h=b;b=0;while(1){i=f+b|0;j=0;do{k=(d[i>>0]|0)-g+(d[e+j>>0]|0)|0;a[h+j>>0]=(k|0)>255?-1:((k|0)>0?k:0)&255;j=j+1|0}while((j|0)!=16);b=b+1|0;if((b|0)==16)break;else h=h+c|0}return}function Wb(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=d[e+-1>>0]|0;h=b;b=0;while(1){i=f+b|0;j=0;do{k=(d[i>>0]|0)-g+(d[e+j>>0]|0)|0;a[h+j>>0]=(k|0)>255?-1:((k|0)>0?k:0)&255;j=j+1|0}while((j|0)!=32);b=b+1|0;if((b|0)==32)break;else h=h+c|0}return}function Xb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;e=b+c|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;b=e+c|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;e=b+c|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;return}function Yb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;b=d;e=b;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=b+4|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=d+c|0;d=e;b=d;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=d+4|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=e+c|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;b=d;e=b;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=b+4|0;a[e>>0]=-2139062144;a[e+1>>0]=-2139062144>>8;a[e+2>>0]=-2139062144>>16;a[e+3>>0]=-2139062144>>24;e=d+c|0;d=e;b=d;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=d+4|0;a[b>>0]=-2139062144;a[b+1>>0]=-2139062144>>8;a[b+2>>0]=-2139062144>>16;a[b+3>>0]=-2139062144>>24;b=e+c|0;e=b;d=e;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=e+4|0;a[d>>0]=-2139062144;a[d+1>>0]=-2139062144>>8;a[d+2>>0]=-2139062144>>16;a[d+3>>0]=-2139062144>>24;d=b+c|0;c=d;a[c>>0]=-2139062144;a[c+1>>0]=-2139062144>>8;a[c+2>>0]=-2139062144>>16;a[c+3>>0]=-2139062144>>24;c=d+4|0;a[c>>0]=-2139062144;a[c+1>>0]=-2139062144>>8;a[c+2>>0]=-2139062144>>16;a[c+3>>0]=-2139062144>>24;return}function Zb(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));e=b+c|0;d=e+16|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));return}function _b(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));f=b+c|0;e=f;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));b=f+c|0;e=b;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));e=b+c|0;d=e+32|0;do{a[e>>0]=128;e=e+1|0}while((e|0)<(d|0));return}function $b(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))+2|0)>>>2&255;qh(a|0,c|0,4)|0;e=a+b|0;qh(e|0,c|0,4)|0;a=e+b|0;qh(a|0,c|0,4)|0;qh(a+b|0,c|0,4)|0;return}function ac(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=(((d[e+7>>0]|0)+((d[e+6>>0]|0)+((d[e+5>>0]|0)+((d[e+4>>0]|0)+((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))))))+4|0)/8|0)&255;qh(a|0,c|0,8)|0;e=a+b|0;qh(e|0,c|0,8)|0;a=e+b|0;qh(a|0,c|0,8)|0;e=a+b|0;qh(e|0,c|0,8)|0;a=e+b|0;qh(a|0,c|0,8)|0;e=a+b|0;qh(e|0,c|0,8)|0;a=e+b|0;qh(a|0,c|0,8)|0;qh(a+b|0,c|0,8)|0;return}function bc(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=(((d[e+15>>0]|0)+((d[e+14>>0]|0)+((d[e+13>>0]|0)+((d[e+12>>0]|0)+((d[e+11>>0]|0)+((d[e+10>>0]|0)+((d[e+9>>0]|0)+((d[e+8>>0]|0)+((d[e+7>>0]|0)+((d[e+6>>0]|0)+((d[e+5>>0]|0)+((d[e+4>>0]|0)+((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))))))))))))))+8|0)/16|0)&255;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;e=a+b|0;qh(e|0,c|0,16)|0;a=e+b|0;qh(a|0,c|0,16)|0;qh(a+b|0,c|0,16)|0;return}function cc(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;c=(((d[e+31>>0]|0)+((d[e+30>>0]|0)+((d[e+29>>0]|0)+((d[e+28>>0]|0)+((d[e+27>>0]|0)+((d[e+26>>0]|0)+((d[e+25>>0]|0)+((d[e+24>>0]|0)+((d[e+23>>0]|0)+((d[e+22>>0]|0)+((d[e+21>>0]|0)+((d[e+20>>0]|0)+((d[e+19>>0]|0)+((d[e+18>>0]|0)+((d[e+17>>0]|0)+((d[e+16>>0]|0)+((d[e+15>>0]|0)+((d[e+14>>0]|0)+((d[e+13>>0]|0)+((d[e+12>>0]|0)+((d[e+11>>0]|0)+((d[e+10>>0]|0)+((d[e+9>>0]|0)+((d[e+8>>0]|0)+((d[e+7>>0]|0)+((d[e+6>>0]|0)+((d[e+5>>0]|0)+((d[e+4>>0]|0)+((d[e+3>>0]|0)+((d[e+2>>0]|0)+((d[e+1>>0]|0)+(d[e>>0]|0)))))))))))))))))))))))))))))))+16|0)/32|0)&255;qh(a|0,c|0,32)|0;e=a+b|0;qh(e|0,c|0,32)|0;a=e+b|0;qh(a|0,c|0,32)|0;e=a+b|0;qh(e|0,c|0,32)|0;a=e+b|0;qh(a|0,c|0,32)|0;e=a+b|0;qh(e|0,c|0,32)|0;a=e+b|0;qh(a|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=a+b|0;qh(c|0,e|0,8)|0;a=c+b|0;qh(a|0,e|0,8)|0;c=a+b|0;qh(c|0,e|0,8)|0;a=c+b|0;qh(a|0,e|0,8)|0;qh(a+b|0,e|0,8)|0;return}function fc(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;e=(((d[c+15>>0]|0)+((d[c+14>>0]|0)+((d[c+13>>0]|0)+((d[c+12>>0]|0)+((d[c+11>>0]|0)+((d[c+10>>0]|0)+((d[c+9>>0]|0)+((d[c+8>>0]|0)+((d[c+7>>0]|0)+((d[c+6>>0]|0)+((d[c+5>>0]|0)+((d[c+4>>0]|0)+((d[c+3>>0]|0)+((d[c+2>>0]|0)+((d[c+1>>0]|0)+(d[c>>0]|0)))))))))))))))+8|0)/16|0)&255;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;c=a+b|0;qh(c|0,e|0,16)|0;a=c+b|0;qh(a|0,e|0,16)|0;qh(a+b|0,e|0,16)|0;return}function gc(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;e=(((d[c+31>>0]|0)+((d[c+30>>0]|0)+((d[c+29>>0]|0)+((d[c+28>>0]|0)+((d[c+27>>0]|0)+((d[c+26>>0]|0)+((d[c+25>>0]|0)+((d[c+24>>0]|0)+((d[c+23>>0]|0)+((d[c+22>>0]|0)+((d[c+21>>0]|0)+((d[c+20>>0]|0)+((d[c+19>>0]|0)+((d[c+18>>0]|0)+((d[c+17>>0]|0)+((d[c+16>>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>0]|0)|0)+r+64>>7;a[m+n>>0]=(s|0)>255?-1:((s|0)>0?s:0)&255;n=n+1|0;if((n|0)==(k|0))break;else o=o+j|0}c=c+1|0;if((c|0)==(l|0))break;else{m=m+g|0;f=f+e|0}}return}function nc(c,e,f,g,h,i,j,k,l,m){c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=h;h=k&-256;j=h;n=k-h>>4;if(!((l|0)>0&(m|0)>0))return;h=f;f=c+-3|0;c=0;while(1){k=0;o=n;while(1){p=f+(o>>4)|0;q=o&15;r=S(b[j+(q<<4)>>1]|0,d[p>>0]|0)|0;s=S(b[j+(q<<4)+2>>1]|0,d[p+1>>0]|0)|0;t=S(b[j+(q<<4)+4>>1]|0,d[p+2>>0]|0)|0;u=S(b[j+(q<<4)+6>>1]|0,d[p+3>>0]|0)|0;v=S(b[j+(q<<4)+8>>1]|0,d[p+4>>0]|0)|0;w=S(b[j+(q<<4)+10>>1]|0,d[p+5>>0]|0)|0;x=S(b[j+(q<<4)+12>>1]|0,d[p+6>>0]|0)|0;y=S(b[j+(q<<4)+14>>1]|0,d[p+7>>0]|0)|0;p=h+k|0;q=r+64+s+t+u+v+w+x+y>>7;a[p>>0]=(((q|0)>255?256:(((q|0)>0?q:0)&255)+1|0)+(d[p>>0]|0)|0)>>>1;k=k+1|0;if((k|0)==(l|0))break;else o=o+i|0}c=c+1|0;if((c|0)==(m|0))break;else{h=h+g|0;f=f+e|0}}return}function oc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;f=g;g=f&-256;pc(a,b,c,d,g,f-g>>4,h,i,j);return}function pc(c,e,f,g,h,i,j,k,l){c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=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v+e>>0]|0)|0;z=S(b[h+(w<<4)+4>>1]|0,d[v+j>>0]|0)|0;A=S(b[h+(w<<4)+6>>1]|0,d[v+i>>0]|0)|0;B=S(b[h+(w<<4)+8>>1]|0,d[v+o>>0]|0)|0;C=S(b[h+(w<<4)+10>>1]|0,d[v+p>>0]|0)|0;D=S(b[h+(w<<4)+12>>1]|0,d[v+q>>0]|0)|0;E=S(b[h+(w<<4)+14>>1]|0,d[v+r>>0]|0)|0;v=s+(S(t,g)|0)|0;w=x+64+y+z+A+B+C+D+E>>7;a[v>>0]=(((w|0)>255?256:(((w|0)>0?w:0)&255)+1|0)+(d[v>>0]|0)|0)>>>1;t=t+1|0;if((t|0)==(m|0))break;else u=u+k|0}c=c+1|0;if((c|0)==(l|0))break;else{s=s+1|0;f=f+1|0}}return}function rc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0;k=l;l=l+8640|0;m=k;n=e;e=n&-256;o=g;g=o&-256;p=o-g>>4;mc(a+(S(b,-3)|0)|0,b,m,64,e,n-e>>4,f,i,((S(j+-1|0,h)|0)+p>>4)+8|0);pc(m+192|0,64,c,d,g,p,h,i,j);l=k;return}function sc(b,c,e,f,g,h,i,j,k,m){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=l;l=l+12736|0;o=n+4096|0;p=n;q=g;g=q&-256;r=i;i=r&-256;s=r-i>>4;mc(b+(S(c,-3)|0)|0,c,o,64,g,q-g>>4,h,k,((S(m+-1|0,j)|0)+s>>4)+8|0);pc(o+192|0,64,p,64,i,s,j,k,m);if((k|0)>0&(m|0)>0){t=e;u=p;v=0}else{l=n;return}while(1){p=0;do{e=t+p|0;a[e>>0]=((d[e>>0]|0)+1+(d[u+p>>0]|0)|0)>>>1;p=p+1|0}while((p|0)!=(k|0));v=v+1|0;if((v|0)==(m|0))break;else{t=t+f|0;u=u+64|0}}l=n;return}function tc(b,c,e,f,g,h,i,j,k,l){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;if((l|0)>0&(k|0)>0){m=e;n=b;o=0}else return;while(1){b=0;do{e=m+b|0;a[e>>0]=((d[e>>0]|0)+1+(d[n+b>>0]|0)|0)>>>1;b=b+1|0}while((b|0)!=(k|0));o=o+1|0;if((o|0)==(l|0))break;else{m=m+f|0;n=n+c|0}}return}function uc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0;if((j|0)>0){k=c;l=j;m=a}else return;while(1){vh(k|0,m|0,i|0)|0;if((l|0)>1){k=k+d|0;l=l+-1|0;m=m+b|0}else break}return}function vc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;h=e;e=h&-256;mc(a,b,c,d,e,h-e>>4,f,i,j);return}function wc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;f=g;g=f&-256;pc(a,b,c,d,g,f-g>>4,h,i,j);return}function xc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0;k=l;l=l+8640|0;m=k;n=e;e=n&-256;o=g;g=o&-256;p=o-g>>4;mc(a+(S(b,-3)|0)|0,b,m,64,e,n-e>>4,f,i,((S(j+-1|0,h)|0)+p>>4)+8|0);pc(m+192|0,64,c,d,g,p,h,i,j);l=k;return}function yc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;nc(a,b,c,d,e,f,0,0,i,j);return}function zc(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;qc(a,b,c,d,0,0,g,h,i,j);return}function Ac(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;sc(a,b,c,d,e,f,g,h,i,j);return}function Bc(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;h=S(c,-4)|0;i=S(c,-3)|0;j=S(c,-2)|0;k=0-c|0;l=c<<1;m=c*3|0;n=0-l|0;o=0;p=b;while(1){b=p+k|0;q=a[b>>0]|0;r=a[p>>0]|0;s=p+c|0;t=a[s>>0]|0;u=d[p+i>>0]|0;v=(d[p+h>>0]|0)-u|0;w=d[f>>0]|0;x=d[p+j>>0]|0;y=u-x|0;u=q&255;z=x-u|0;A=t&255;B=r&255;C=A-B|0;D=(C|0)>-1?C:0-C|0;C=d[p+l>>0]|0;E=C-A|0;F=(d[p+m>>0]|0)-C|0;C=u-B|0;B=x-A|0;A=p+n|0;x=a[A>>0]|0;G=(x&255)-u|0;u=d[g>>0]|0;H=(D|0)>(u|0)?1:(((G|0)>-1?G:0-G|0)|0)>(u|0);u=(x^-128)<<24>>24;x=(t^-128)<<24>>24;t=u-x|0;G=(r^-128)<<24>>24;r=(q^-128)<<24>>24;q=(H?((t|0)<-128?-128:((t|0)<127?t:127)<<24>>24):0)+((G-r|0)*3|0)|0;t=(((q|0)<-128?128:(q|0)<127?q:127)&(((((((B|0)>-1?B:0-B|0)|0)/2|0)+(((C|0)>-1?C:0-C|0)<<1)|0)>(d[e>>0]|0|0)|((((F|0)>-1?F:0-F|0)|0)>(w|0)|((((E|0)>-1?E:0-E|0)|0)>(w|0)|((D|0)>(w|0)|((((z|0)>-1?z:0-z|0)|0)>(w|0)|((((v|0)>-1?v:0-v|0)|0)>(w|0)?1:(((y|0)>-1?y:0-y|0)|0)>(w|0)))))))<<31>>31^255))<<24>>24;w=t+4|0;y=t+3|0;t=(w|0)<-128?-16:((w|0)<127?w:127)<<24>>27;w=G-t|0;a[p>>0]=(w|0)<-128?0:((w|0)<127?w:127)&255^-128;w=((y|0)<-128?-16:((y|0)<127?y:127)<<24>>27)+r|0;a[b>>0]=(w|0)<-128?0:((w|0)<127?w:127)&255^-128;w=((t+1|0)>>>1&(H?0:255))<<24>>24;H=x-w|0;a[s>>0]=(H|0)<-128?0:((H|0)<127?H:127)&255^-128;H=w+u|0;a[A>>0]=(H|0)<-128?0:((H|0)<127?H:127)&255^-128;o=o+1|0;if((o|0)==8)break;else p=p+1|0}return}function Cc(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Bc(a,b,c,d,e);Bc(a+8|0,b,f,g,h);return}function Dc(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;if((c|0)!=1){h=0;i=b;while(1){j=i+-2|0;k=a[j>>0]|0;l=i+-1|0;m=a[l>>0]|0;n=a[i>>0]|0;o=i+1|0;p=a[o>>0]|0;q=d[i+-3>>0]|0;r=(d[i+-4>>0]|0)-q|0;s=d[f>>0]|0;t=k&255;u=q-t|0;q=m&255;v=t-q|0;w=(v|0)>-1?v:0-v|0;v=p&255;x=n&255;y=v-x|0;z=(y|0)>-1?y:0-y|0;y=d[i+2>>0]|0;A=y-v|0;B=(d[i+3>>0]|0)-y|0;y=q-x|0;x=t-v|0;v=d[g>>0]|0;t=(w|0)>(v|0)|(z|0)>(v|0);v=(k^-128)<<24>>24;k=(p^-128)<<24>>24;p=v-k|0;q=(n^-128)<<24>>24;n=(m^-128)<<24>>24;m=(t?((p|0)<-128?-128:((p|0)<127?p:127)<<24>>24):0)+((q-n|0)*3|0)|0;p=(((m|0)<-128?128:(m|0)<127?m:127)&(((((((x|0)>-1?x:0-x|0)|0)/2|0)+(((y|0)>-1?y:0-y|0)<<1)|0)>(d[e>>0]|0|0)|((((B|0)>-1?B:0-B|0)|0)>(s|0)|((((A|0)>-1?A:0-A|0)|0)>(s|0)|((z|0)>(s|0)|((w|0)>(s|0)|((((r|0)>-1?r:0-r|0)|0)>(s|0)?1:(((u|0)>-1?u:0-u|0)|0)>(s|0)))))))<<31>>31^255))<<24>>24;s=p+4|0;u=p+3|0;p=(s|0)<-128?-16:((s|0)<127?s:127)<<24>>27;s=q-p|0;a[i>>0]=(s|0)<-128?0:((s|0)<127?s:127)&255^-128;s=((u|0)<-128?-16:((u|0)<127?u:127)<<24>>27)+n|0;a[l>>0]=(s|0)<-128?0:((s|0)<127?s:127)&255^-128;s=((p+1|0)>>>1&(t?0:255))<<24>>24;t=k-s|0;a[o>>0]=(t|0)<-128?0:((t|0)<127?t:127)&255^-128;t=s+v|0;a[j>>0]=(t|0)<-128?0:((t|0)<127?t:127)&255^-128;h=h+1|0;if((h|0)==8)break;else i=i+c|0}return}i=0;h=b;t=a[b>>0]|0;while(1){b=h+-2|0;j=a[b>>0]|0;v=h+-1|0;s=a[v>>0]|0;o=h+1|0;k=a[o>>0]|0;p=d[h+-3>>0]|0;l=(d[h+-4>>0]|0)-p|0;n=d[f>>0]|0;u=j&255;q=p-u|0;p=s&255;r=u-p|0;w=(r|0)>-1?r:0-r|0;r=k&255;z=t&255;A=r-z|0;B=(A|0)>-1?A:0-A|0;A=d[h+2>>0]|0;y=A-r|0;x=(d[h+3>>0]|0)-A|0;A=p-z|0;z=u-r|0;r=d[g>>0]|0;u=(w|0)>(r|0)|(B|0)>(r|0);r=(j^-128)<<24>>24;j=(k^-128)<<24>>24;k=r-j|0;p=(t^-128)<<24>>24;m=(s^-128)<<24>>24;s=(u?((k|0)<-128?-128:((k|0)<127?k:127)<<24>>24):0)+((p-m|0)*3|0)|0;k=(((s|0)<-128?128:(s|0)<127?s:127)&(((((((z|0)>-1?z:0-z|0)|0)/2|0)+(((A|0)>-1?A:0-A|0)<<1)|0)>(d[e>>0]|0|0)|((((x|0)>-1?x:0-x|0)|0)>(n|0)|((((y|0)>-1?y:0-y|0)|0)>(n|0)|((B|0)>(n|0)|((w|0)>(n|0)|((((l|0)>-1?l:0-l|0)|0)>(n|0)?1:(((q|0)>-1?q:0-q|0)|0)>(n|0)))))))<<31>>31^255))<<24>>24;n=k+4|0;q=k+3|0;k=(n|0)<-128?-16:((n|0)<127?n:127)<<24>>27;n=p-k|0;a[h>>0]=(n|0)<-128?0:((n|0)<127?n:127)&255^-128;n=((q|0)<-128?-16:((q|0)<127?q:127)<<24>>27)+m|0;a[v>>0]=(n|0)<-128?0:((n|0)<127?n:127)&255^-128;n=((k+1|0)>>>1&(u?0:255))<<24>>24;u=j-n|0;t=(u|0)<-128?0:((u|0)<127?u:127)&255^-128;a[o>>0]=t;o=n+r|0;a[b>>0]=(o|0)<-128?0:((o|0)<127?o:127)&255^-128;i=i+1|0;if((i|0)==8)break;else h=h+c|0}return}function Ec(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Dc(a,b,c,d,e);Dc(a+(b<<3)|0,b,f,g,h);return}function Fc(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0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&255)|0;s=(((q|0)>-1?q:0-q|0)|0)>(r|0)?1:(((c|0)>-1?c:0-c|0)|0)>(r|0);r=(e^-128)<<24>>24;e=(p^-128)<<24>>24;p=r-e|0;c=(o^-128)<<24>>24;o=(n^-128)<<24>>24;n=(s?((p|0)<-128?-128:((p|0)<127?p:127)<<24>>24):0)+((c-o|0)*3|0)|0;p=(((n|0)<-128?-128:((n|0)<127?n:127)&255)&b)<<24>>24;b=p+4|0;n=p+3|0;p=(b|0)<-128?-16:((b|0)<127?b:127)<<24>>27;b=c-p|0;a[j>>0]=(b|0)<-128?0:((b|0)<127?b:127)&255^-128;b=((n|0)<-128?-16:((n|0)<127?n:127)<<24>>27)+o|0;a[i>>0]=(b|0)<-128?0:((b|0)<127?b:127)&255^-128;b=((p+1|0)>>>1&(s?0:255))<<24>>24;s=e-b|0;a[k>>0]=(s|0)<-128?0:((s|0)<127?s:127)&255^-128;s=b+r|0;a[h>>0]=(s|0)<-128?0:((s|0)<127?s:127)&255^-128;return}else{s=a[k>>0]|0;r=a[l>>0]|0;b=a[m>>0]|0;m=d[f>>0]|0;f=d[g>>0]|0;e=d[h>>0]|0;p=d[i>>0]|0;o=d[j>>0]|0;a[g>>0]=((m*3|0)+4+(f<<1)+e+p+o|0)>>>3;g=s&255;s=f+4|0;a[h>>0]=(s+p+o+(e+m<<1)+g|0)>>>3;h=r&255;a[i>>0]=(m+4+f+e+(p<<1)+o+g+h|0)>>>3;f=b&255;a[j>>0]=(s+e+p+(o<<1)+g+h+f|0)>>>3;a[k>>0]=(e+4+p+o+h+(f+g<<1)|0)>>>3;a[l>>0]=(p+4+o+g+(h<<1)+(f*3|0)|0)>>>3;return}}function Hc(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Fc(a,b,c,d,e);Fc(a+8|0,b,f,g,h);return}function Ic(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0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0)>(L|0)|((((V|0)>-1?V:0-V|0)|0)>(L|0)|((U|0)>(L|0)|((Q|0)>(L|0)|((((K|0)>-1?K:0-K|0)|0)>(L|0)?1:(((N|0)>-1?N:0-N|0)|0)>(L|0)))))))<<31>>31^255)&255,a[g>>0]|0,(((((I|0)>-1?I:0-I|0)|0)>1|((((T|0)>-1?T:0-T|0)|0)>1|((((J|0)>-1?J:0-J|0)|0)>1|((((P|0)>-1?P:0-P|0)|0)>1|((Q|0)>1|(U|0)>1)))))<<31>>31^255)&255,((((ga|0)>-1?ga:0-ga|0)|0)>1?1:(((O|0)>-1?O:0-O|0)|0)>1)?0:(((((fa|0)>-1?fa:0-fa|0)|0)>1|((((ea|0)>-1?ea:0-ea|0)|0)>1|((((da|0)>-1?da:0-da|0)|0)>1|((((ca|0)>-1?ca:0-ca|0)|0)>1|((((aa|0)>-1?aa:0-aa|0)|0)>1?1:(((ba|0)>-1?ba:0-ba|0)|0)>1)))))<<31>>31^255)&255,E+w|0,E+x|0,E+y|0,E+z|0,E+A|0,E+B|0,E+C|0,b,E,F,G,H,W,M,_,$);D=D+1|0;if((D|0)>=(i|0))break;else E=E+1|0}return}function Mc(b,c,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;u=u|0;v=v|0;var w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if(b<<24>>24==0|(e<<24>>24==0|f<<24>>24==0)){Gc(b,c,e,k,l,m,n,o,p,q,r);return}else{e=a[p>>0]|0;c=a[q>>0]|0;b=a[r>>0]|0;f=a[s>>0]|0;w=a[t>>0]|0;x=a[u>>0]|0;y=a[v>>0]|0;v=d[g>>0]|0;g=d[h>>0]|0;z=d[i>>0]|0;A=d[j>>0]|0;B=d[k>>0]|0;C=d[l>>0]|0;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k=m;m=e;e=0;p=h;while(1){h=k<<16>>16;o=b[p+24>>1]|0;c=h+(b[p>>1]|0)|0;i=(b[p+16>>1]|0)-o|0;q=c-i>>1;r=q-o|0;o=q-h|0;h=c-r+(d[m>>0]|0)|0;a[m>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=m+f|0;c=r+(d[h>>0]|0)|0;a[h>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=m+n|0;h=(d[c>>0]|0)+o|0;a[c>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=m+j|0;c=o+i+(d[h>>0]|0)|0;a[h>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=e+1|0;if((c|0)==4)break;k=b[p+10>>1]|0;m=m+1|0;e=c;p=p+2|0}l=g;return}function Sc(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+16|0;h=g;i=b[c>>1]|0;c=i>>3;j=(i>>>2)-c&65535;b[h>>1]=j;i=c&65535;b[h+6>>1]=i;b[h+4>>1]=i;b[h+2>>1]=i;i=f<<1;c=f*3|0;k=j;j=e;e=0;m=h;while(1){h=k<<16>>16;n=h>>1;o=h-n+(d[j>>0]|0)|0;a[j>>0]=(o|0)>255?-1:((o|0)>0?o:0)&255;o=j+f|0;h=(d[o>>0]|0)+n|0;a[o>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=j+i|0;o=(d[h>>0]|0)+n|0;a[h>>0]=(o|0)>255?-1:((o|0)>0?o:0)&255;o=j+c|0;h=(d[o>>0]|0)+n|0;a[o>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=m+2|0;o=e+1|0;if((o|0)==4)break;k=b[h>>1]|0;j=j+1|0;e=o;m=h}l=g;return}function Tc(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=b[a>>1]|0;e=b[a+4>>1]|0;f=b[a+2>>1]|0;g=b[a+6>>1]|0;a=((f*6270|0)+8192+(S(g,-15137)|0)|0)>>>14;h=(((e+d|0)*11585|0)+8192|0)>>>14<<16>>16;i=((f*15137|0)+8192+(g*6270|0)|0)>>>14<<16>>16;b[c>>1]=i+h;g=(((d-e|0)*11585|0)+8192|0)>>>14<<16>>16;e=a<<16>>16;b[c+2>>1]=e+g;b[c+4>>1]=g-e;b[c+6>>1]=h-i;return}function Uc(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;g=l;l=l+32|0;h=g;i=0;j=c;c=h;while(1){k=b[j>>1]|0;m=b[j+4>>1]|0;n=b[j+2>>1]|0;o=b[j+6>>1]|0;p=((n*6270|0)+8192+(S(o,-15137)|0)|0)>>>14;q=(((m+k|0)*11585|0)+8192|0)>>>14<<16>>16;r=((n*15137|0)+8192+(o*6270|0)|0)>>>14<<16>>16;b[c>>1]=r+q;o=(((k-m|0)*11585|0)+8192|0)>>>14<<16>>16;m=p<<16>>16;b[c+2>>1]=m+o;b[c+4>>1]=o-m;b[c+6>>1]=q-r;i=i+1|0;if((i|0)==4)break;else{j=j+8|0;c=c+8|0}}c=f<<1;j=f*3|0;i=0;do{r=b[h+(i<<1)>>1]|0;q=b[h+(i+8<<1)>>1]|0;m=b[h+(i+4<<1)>>1]|0;o=b[h+(i+12<<1)>>1]|0;p=(((q+r|0)*11585|0)+8192|0)>>>14<<16>>16;k=((m*15137|0)+8192+(o*6270|0)|0)>>>14<<16>>16;n=(((r-q|0)*11585|0)+8192|0)>>>14<<16>>16;q=((m*6270|0)+8192+(S(o,-15137)|0)|0)>>>14<<16>>16;o=e+i|0;m=((k+p<<16>>16)+8>>4)+(d[o>>0]|0)|0;a[o>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;m=e+(i+f)|0;o=((q+n<<16>>16)+8>>4)+(d[m>>0]|0)|0;a[m>>0]=(o|0)>255?-1:((o|0)>0?o:0)&255;o=e+(c+i)|0;m=((n-q<<16>>16)+8>>4)+(d[o>>0]|0)|0;a[o>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;m=e+(j+i)|0;o=((p-k<<16>>16)+8>>4)+(d[m>>0]|0)|0;a[m>>0]=(o|0)>255?-1:((o|0)>0?o:0)&255;i=i+1|0}while((i|0)!=4);l=g;return}function Vc(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0;g=(((((((b[c>>1]|0)*11585|0)+8192|0)>>>14<<16>>16)*11585|0)+8192|0)>>>14<<16>>16)+8>>4;c=(d[e>>0]|0)+g|0;a[e>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=e+1|0;h=(d[c>>0]|0)+g|0;a[c>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=e+2|0;c=(d[h>>0]|0)+g|0;a[h>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=e+3|0;h=(d[c>>0]|0)+g|0;a[c>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=e+f|0;e=(d[h>>0]|0)+g|0;a[h>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=h+1|0;c=(d[e>>0]|0)+g|0;a[e>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=h+2|0;e=(d[c>>0]|0)+g|0;a[c>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=h+3|0;c=(d[e>>0]|0)+g|0;a[e>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=h+f|0;h=(d[c>>0]|0)+g|0;a[c>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=c+1|0;e=(d[h>>0]|0)+g|0;a[h>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=c+2|0;h=(d[e>>0]|0)+g|0;a[e>>0]=(h|0)>255?-1:((h|0)>0?h:0)&255;h=c+3|0;e=(d[h>>0]|0)+g|0;a[h>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=c+f|0;f=(d[e>>0]|0)+g|0;a[e>>0]=(f|0)>255?-1:((f|0)>0?f:0)&255;f=e+1|0;c=(d[f>>0]|0)+g|0;a[f>>0]=(c|0)>255?-1:((c|0)>0?c:0)&255;c=e+2|0;f=(d[c>>0]|0)+g|0;a[c>>0]=(f|0)>255?-1:((f|0)>0?f:0)&255;f=e+3|0;e=(d[f>>0]|0)+g|0;a[f>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;return}function Wc(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=b[a+2>>1]|0;e=b[a+14>>1]|0;f=((d*3196|0)+8192+(S(e,-16069)|0)|0)>>>14;g=b[a+10>>1]|0;h=b[a+6>>1]|0;i=b[a>>1]|0;j=b[a+8>>1]|0;k=b[a+4>>1]|0;l=b[a+12>>1]|0;a=f<<16>>16;f=((g*13623|0)+8192+(S(h,-9102)|0)|0)>>>14<<16>>16;m=((g*9102|0)+8192+(h*13623|0)|0)>>>14<<16>>16;h=((d*16069|0)+8192+(e*3196|0)|0)>>>14<<16>>16;e=(((j+i|0)*11585|0)+8192|0)>>>14<<16>>16;d=((k*15137|0)+8192+(l*6270|0)|0)>>>14<<16>>16;g=(((i-j|0)*11585|0)+8192|0)>>>14<<16>>16;j=((k*6270|0)+8192+(S(l,-15137)|0)|0)>>>14<<16>>16;l=h-m<<16>>16;k=a-f<<16>>16;i=d+e<<16>>16;n=m+h<<16>>16;b[c>>1]=n+i;h=j+g<<16>>16;m=(((k+l|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+2>>1]=m+h;o=g-j<<16>>16;j=(((l-k|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+4>>1]=j+o;k=e-d<<16>>16;d=f+a<<16>>16;b[c+6>>1]=d+k;b[c+8>>1]=k-d;b[c+10>>1]=o-j;b[c+12>>1]=h-m;b[c+14>>1]=i-n;return}function Xc(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0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0)|0;a[G>>0]=(F|0)>255?-1:((F|0)>0?F:0)&255;F=e+(A+E)|0;G=((b[B>>1]|0)+16>>5)+(d[F>>0]|0)|0;a[F>>0]=(G|0)>255?-1:((G|0)>0?G:0)&255;G=e+(C+E)|0;F=((b[D>>1]|0)+16>>5)+(d[G>>0]|0)|0;a[G>>0]=(F|0)>255?-1:((F|0)>0?F:0)&255;E=E+1|0}while((E|0)!=8);l=g;return}function Yc(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=(((((((b[c>>1]|0)*11585|0)+8192|0)>>>14<<16>>16)*11585|0)+8192|0)>>>14<<16>>16)+16>>5;if((f|0)!=1){c=e;h=0;while(1){i=(d[c>>0]|0)+g|0;a[c>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+1|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;j=c+2|0;i=(d[j>>0]|0)+g|0;a[j>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+3|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;j=c+4|0;i=(d[j>>0]|0)+g|0;a[j>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+5|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;j=c+6|0;i=(d[j>>0]|0)+g|0;a[j>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+7|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;h=h+1|0;if((h|0)==8)break;else c=c+f|0}return}c=e;h=0;j=a[e+6>>0]|0;while(1){e=(d[c>>0]|0)+g|0;a[c>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=c+1|0;i=(d[e>>0]|0)+g|0;a[e>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+2|0;e=(d[i>>0]|0)+g|0;a[i>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=c+3|0;i=(d[e>>0]|0)+g|0;a[e>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+4|0;e=(d[i>>0]|0)+g|0;a[i>>0]=(e|0)>255?-1:((e|0)>0?e:0)&255;e=c+5|0;i=(d[e>>0]|0)+g|0;a[e>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=(j&255)+g|0;a[c+6>>0]=(i|0)>255?-1:((i|0)>0?i:0)&255;i=c+7|0;e=(d[i>>0]|0)+g|0;j=(e|0)>255?-1:((e|0)>0?e:0)&255;a[i>>0]=j;h=h+1|0;if((h|0)==8)break;else c=c+f|0}return}function Zc(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=b[a>>1]|0;e=b[a+2>>1]|0;f=b[a+4>>1]|0;g=b[a+6>>1]|0;a=d<<16>>16;h=f<<16>>16;i=g<<16>>16;if(!((e|d|f|g)<<16>>16)){g=c;f=g;b[f>>1]=0;b[f+2>>1]=0>>>16;f=g+4|0;b[f>>1]=0;b[f+2>>1]=0>>>16;return}else{f=(e<<16>>16)*13377|0;e=(h*15212|0)+(a*5283|0)+(i*9929|0)|0;g=(S(h,-5283)|0)+(a*9929|0)+(S(i,-15212)|0)|0;d=f+8192|0;b[c>>1]=(d+e|0)>>>14;b[c+2>>1]=(d+g|0)>>>14;b[c+4>>1]=(((a-h+i|0)*13377|0)+8192|0)>>>14;b[c+6>>1]=(8192-f+g+e|0)>>>14;return}}function _c(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=b[a+14>>1]|0;e=d<<16>>16;f=b[a>>1]|0;g=f<<16>>16;h=b[a+10>>1]|0;i=h<<16>>16;j=b[a+4>>1]|0;k=j<<16>>16;l=b[a+6>>1]|0;m=l<<16>>16;n=b[a+8>>1]|0;o=n<<16>>16;p=b[a+2>>1]|0;q=p<<16>>16;r=b[a+12>>1]|0;a=r<<16>>16;if(!((f|d|h|j|l|n|p|r)<<16>>16)){b[c>>1]=0;b[c+2>>1]=0;b[c+4>>1]=0;b[c+6>>1]=0;b[c+8>>1]=0;b[c+10>>1]=0;b[c+12>>1]=0;b[c+14>>1]=0;return}else{r=(o*12665|0)+(m*10394|0)|0;p=(S(o,-10394)|0)+(m*12665|0)|0;m=(a*15679|0)+(q*4756|0)|0;o=(S(a,-4756)|0)+(q*15679|0)|0;q=(g*1606|0)+(e*16305|0)+8192|0;a=q+r>>14;n=(S(g,-16305)|0)+(e*1606|0)+8192|0;e=n+p>>14;g=(k*7723|0)+(i*14449|0)+8192|0;l=g+m>>14;j=(S(k,-14449)|0)+(i*7723|0)+8192|0;i=j+o>>14;k=q-r>>14;r=n-p>>14;p=g-m>>14;m=j-o>>14;o=(S(p,-6270)|0)+(m*15137|0)|0;j=(p*15137|0)+(m*6270|0)|0;m=a-l|0;p=e-i|0;g=(k*15137|0)+(r*6270|0)+8192|0;n=(k*6270|0)+(S(r,-15137)|0)+8192|0;r=g-o>>14;k=n-j>>14;b[c>>1]=l+a;b[c+2>>1]=0-((g+o|0)>>>14);b[c+4>>1]=(((r+k|0)*11585|0)+8192|0)>>>14;b[c+6>>1]=0-((((m+p|0)*11585|0)+8192|0)>>>14);b[c+8>>1]=(((m-p|0)*11585|0)+8192|0)>>>14;b[c+10>>1]=0-((((r-k|0)*11585|0)+8192|0)>>>14);b[c+12>>1]=(n+j|0)>>>14;b[c+14>>1]=0-(e+i);return}}function $c(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;g=l;l=l+160|0;h=g+32|0;i=g+16|0;j=g;k=h;m=k+128|0;do{b[k>>1]=0;k=k+2|0}while((k|0)<(m|0));Wc(c,h);Wc(c+16|0,h+16|0);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>0]=(F|0)>255?-1:((F|0)>0?F:0)&255;E=E+1|0}while((E|0)!=8);l=g;return}function ad(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=b[a+2>>1]|0;e=b[a+30>>1]|0;f=b[a+18>>1]|0;g=b[a+14>>1]|0;h=b[a+10>>1]|0;i=b[a+22>>1]|0;j=b[a+26>>1]|0;k=b[a+6>>1]|0;l=b[a+4>>1]|0;m=b[a+28>>1]|0;n=b[a+20>>1]|0;o=b[a+12>>1]|0;p=((d*1606|0)+8192+(S(e,-16305)|0)|0)>>>14<<16>>16;q=((f*12665|0)+8192+(S(g,-10394)|0)|0)>>>14<<16>>16;r=((h*7723|0)+8192+(S(i,-14449)|0)|0)>>>14<<16>>16;s=((j*15679|0)+8192+(S(k,-4756)|0)|0)>>>14<<16>>16;t=((j*4756|0)+8192+(k*15679|0)|0)>>>14<<16>>16;k=((h*14449|0)+8192+(i*7723|0)|0)>>>14<<16>>16;i=((f*10394|0)+8192+(g*12665|0)|0)>>>14<<16>>16;g=((d*16305|0)+8192+(e*1606|0)|0)>>>14<<16>>16;e=b[a>>1]|0;d=b[a+16>>1]|0;f=b[a+8>>1]|0;h=b[a+24>>1]|0;a=((l*3196|0)+8192+(S(m,-16069)|0)|0)>>>14<<16>>16;j=((n*13623|0)+8192+(S(o,-9102)|0)|0)>>>14<<16>>16;u=((n*9102|0)+8192+(o*13623|0)|0)>>>14<<16>>16;o=((l*16069|0)+8192+(m*3196|0)|0)>>>14<<16>>16;m=p-q<<16>>16;l=g-i<<16>>16;n=s-r<<16>>16;v=t-k<<16>>16;w=(((d+e|0)*11585|0)+8192|0)>>>14<<16>>16;x=((f*15137|0)+8192+(h*6270|0)|0)>>>14<<16>>16;y=(((e-d|0)*11585|0)+8192|0)>>>14<<16>>16;d=((f*6270|0)+8192+(S(h,-15137)|0)|0)>>>14<<16>>16;h=o-u<<16>>16;f=a-j<<16>>16;e=p+q<<16>>16;q=r+s<<16>>16;s=((l*6270|0)+8192+(S(m,-15137)|0)|0)>>>14<<16>>16;r=((S(v,-15137)|0)+8192+(S(n,-6270)|0)|0)>>>14<<16>>16;p=k+t<<16>>16;t=g+i<<16>>16;i=((v*6270|0)+8192+(S(n,-15137)|0)|0)>>>14<<16>>16;n=((l*15137|0)+8192+(m*6270|0)|0)>>>14<<16>>16;m=x+w<<16>>16;l=o+u<<16>>16;u=d+y<<16>>16;o=(((f+h|0)*11585|0)+8192|0)>>>14<<16>>16;v=y-d<<16>>16;d=(((h-f|0)*11585|0)+8192|0)>>>14<<16>>16;f=w-x<<16>>16;x=a+j<<16>>16;j=s-r<<16>>16;a=n-i<<16>>16;w=e-q<<16>>16;h=t-p<<16>>16;y=l+m<<16>>16;g=t+p<<16>>16;b[c>>1]=g+y;p=o+u<<16>>16;t=n+i<<16>>16;b[c+2>>1]=t+p;i=d+v<<16>>16;n=(((j+a|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+4>>1]=n+i;k=x+f<<16>>16;z=(((w+h|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+6>>1]=z+k;A=f-x<<16>>16;x=(((h-w|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+8>>1]=x+A;w=v-d<<16>>16;d=(((a-j|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+10>>1]=d+w;j=u-o<<16>>16;o=s+r<<16>>16;b[c+12>>1]=o+j;r=m-l<<16>>16;l=e+q<<16>>16;b[c+14>>1]=l+r;b[c+16>>1]=r-l;b[c+18>>1]=j-o;b[c+20>>1]=w-d;b[c+22>>1]=A-x;b[c+24>>1]=k-z;b[c+26>>1]=i-n;b[c+28>>1]=p-t;b[c+30>>1]=y-g;return}function bd(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=l;l=l+576|0;h=g+64|0;i=g+32|0;j=g;ad(c,h);ad(c+32|0,h+32|0);ad(c+64|0,h+64|0);ad(c+96|0,h+96|0);ad(c+128|0,h+128|0);ad(c+160|0,h+160|0);ad(c+192|0,h+192|0);ad(c+224|0,h+224|0);ad(c+256|0,h+256|0);ad(c+288|0,h+288|0);ad(c+320|0,h+320|0);ad(c+352|0,h+352|0);ad(c+384|0,h+384|0);ad(c+416|0,h+416|0);ad(c+448|0,h+448|0);ad(c+480|0,h+480|0);c=i+2|0;k=i+4|0;m=i+6|0;n=i+8|0;o=i+10|0;p=i+12|0;q=i+14|0;r=i+16|0;s=i+18|0;t=i+20|0;u=i+22|0;v=i+24|0;w=i+26|0;x=i+28|0;y=i+30|0;z=0;do{b[i>>1]=b[h+(z<<1)>>1]|0;b[c>>1]=b[h+(z+16<<1)>>1]|0;b[k>>1]=b[h+(z+32<<1)>>1]|0;b[m>>1]=b[h+(z+48<<1)>>1]|0;b[n>>1]=b[h+(z+64<<1)>>1]|0;b[o>>1]=b[h+(z+80<<1)>>1]|0;b[p>>1]=b[h+(z+96<<1)>>1]|0;b[q>>1]=b[h+(z+112<<1)>>1]|0;b[r>>1]=b[h+(z+128<<1)>>1]|0;b[s>>1]=b[h+(z+144<<1)>>1]|0;b[t>>1]=b[h+(z+160<<1)>>1]|0;b[u>>1]=b[h+(z+176<<1)>>1]|0;b[v>>1]=b[h+(z+192<<1)>>1]|0;b[w>>1]=b[h+(z+208<<1)>>1]|0;b[x>>1]=b[h+(z+224<<1)>>1]|0;b[y>>1]=b[h+(z+240<<1)>>1]|0;ad(i,j);A=0;do{B=e+((S(A,f)|0)+z)|0;C=((b[j+(A<<1)>>1]|0)+32>>6)+(d[B>>0]|0)|0;a[B>>0]=(C|0)>255?-1:((C|0)>0?C:0)&255;A=A+1|0}while((A|0)!=16);z=z+1|0}while((z|0)!=16);l=g;return}function cd(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=b[a+30>>1]|0;e=d<<16>>16;f=b[a>>1]|0;g=f<<16>>16;h=b[a+26>>1]|0;i=h<<16>>16;j=b[a+4>>1]|0;k=j<<16>>16;l=b[a+22>>1]|0;m=l<<16>>16;n=b[a+8>>1]|0;o=n<<16>>16;p=b[a+18>>1]|0;q=p<<16>>16;r=b[a+12>>1]|0;s=r<<16>>16;t=b[a+14>>1]|0;u=t<<16>>16;v=b[a+16>>1]|0;w=v<<16>>16;x=b[a+10>>1]|0;y=x<<16>>16;z=b[a+20>>1]|0;A=z<<16>>16;B=b[a+6>>1]|0;C=B<<16>>16;D=b[a+24>>1]|0;E=D<<16>>16;F=b[a+2>>1]|0;G=F<<16>>16;H=b[a+28>>1]|0;a=H<<16>>16;if(!((f|d|h|j|l|n|p|r|t|v|x|z|B|D|F|H)<<16>>16)){H=c;F=H+32|0;do{b[H>>1]=0;H=H+2|0}while((H|0)<(F|0));return}else{H=(w*12140|0)+(u*11003|0)|0;F=(S(w,-11003)|0)+(u*12140|0)|0;u=(A*14053|0)+(y*8423|0)|0;w=(S(A,-8423)|0)+(y*14053|0)|0;y=(E*15426|0)+(C*5520|0)|0;A=(S(E,-5520)|0)+(C*15426|0)|0;C=(a*16207|0)+(G*2404|0)|0;E=(S(a,-2404)|0)+(G*16207|0)|0;G=(g*804|0)+(e*16364|0)+8192|0;a=G+H>>14;D=(S(g,-16364)|0)+(e*804|0)+8192|0;e=D+F>>14;g=(k*3981|0)+(i*15893|0)+8192|0;B=g+u>>14;z=(S(k,-15893)|0)+(i*3981|0)+8192|0;i=z+w>>14;k=(o*7005|0)+(m*14811|0)+8192|0;x=k+y>>14;v=(S(o,-14811)|0)+(m*7005|0)+8192|0;m=v+A>>14;o=(s*9760|0)+(q*13160|0)+8192|0;t=o+C>>14;r=(S(s,-13160)|0)+(q*9760|0)+8192|0;q=r+E>>14;s=G-H>>14;H=D-F>>14;F=g-u>>14;u=z-w>>14;w=k-y>>14;y=v-A>>14;A=o-C>>14;C=r-E>>14;E=(S(w,-3196)|0)+(y*16069|0)|0;r=(w*16069|0)+(y*3196|0)|0;y=(S(A,-13623)|0)+(C*9102|0)|0;w=(A*9102|0)+(C*13623|0)|0;C=x+a|0;A=m+e|0;o=t+B|0;v=q+i|0;k=a-x|0;x=e-m|0;m=B-t|0;t=i-q|0;q=(s*16069|0)+(H*3196|0)+8192|0;i=q+E>>14;B=(s*3196|0)+(S(H,-16069)|0)+8192|0;H=B+r>>14;s=(F*9102|0)+(u*13623|0)+8192|0;e=s+y>>14;a=(F*13623|0)+(S(u,-9102)|0)+8192|0;u=a+w>>14;F=q-E>>14;E=B-r>>14;r=s-y>>14;y=a-w>>14;w=(S(m,-6270)|0)+(t*15137|0)|0;a=(m*15137|0)+(t*6270|0)|0;t=(S(r,-6270)|0)+(y*15137|0)|0;m=(r*15137|0)+(y*6270|0)|0;y=C-o|0;r=A-v|0;s=(k*15137|0)+(x*6270|0)+8192|0;B=(k*6270|0)+(S(x,-15137)|0)+8192|0;x=s-w>>14;k=B-a>>14;q=i-e|0;z=H-u|0;g=(F*15137|0)+(E*6270|0)+8192|0;D=(F*6270|0)+(S(E,-15137)|0)+8192|0;E=g-t>>14;F=D-m>>14;G=((S(y+r|0,-11585)|0)+8192|0)>>>14;p=((S(E+F|0,-11585)|0)+8192|0)>>>14;b[c>>1]=o+C;b[c+2>>1]=0-(i+e);b[c+4>>1]=(g+t|0)>>>14;b[c+6>>1]=0-((s+w|0)>>>14);b[c+8>>1]=(((x+k|0)*11585|0)+8192|0)>>>14;b[c+10>>1]=p;b[c+12>>1]=(((q+z|0)*11585|0)+8192|0)>>>14;b[c+14>>1]=G;b[c+16>>1]=(((y-r|0)*11585|0)+8192|0)>>>14;b[c+18>>1]=(((z-q|0)*11585|0)+8192|0)>>>14;b[c+20>>1]=(((E-F|0)*11585|0)+8192|0)>>>14;b[c+22>>1]=(((k-x|0)*11585|0)+8192|0)>>>14;b[c+24>>1]=(B+a|0)>>>14;b[c+26>>1]=0-((D+m|0)>>>14);b[c+28>>1]=u+H;b[c+30>>1]=0-(A+v);return}}function dd(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=l;l=l+576|0;h=g+64|0;i=g+32|0;j=g;qh(h|0,0,512)|0;ad(c,h);ad(c+32|0,h+32|0);ad(c+64|0,h+64|0);ad(c+96|0,h+96|0);c=i+2|0;k=i+4|0;m=i+6|0;n=i+8|0;o=i+10|0;p=i+12|0;q=i+14|0;r=i+16|0;s=i+18|0;t=i+20|0;u=i+22|0;v=i+24|0;w=i+26|0;x=i+28|0;y=i+30|0;z=0;do{b[i>>1]=b[h+(z<<1)>>1]|0;b[c>>1]=b[h+(z+16<<1)>>1]|0;b[k>>1]=b[h+(z+32<<1)>>1]|0;b[m>>1]=b[h+(z+48<<1)>>1]|0;b[n>>1]=b[h+(z+64<<1)>>1]|0;b[o>>1]=b[h+(z+80<<1)>>1]|0;b[p>>1]=b[h+(z+96<<1)>>1]|0;b[q>>1]=b[h+(z+112<<1)>>1]|0;b[r>>1]=b[h+(z+128<<1)>>1]|0;b[s>>1]=b[h+(z+144<<1)>>1]|0;b[t>>1]=b[h+(z+160<<1)>>1]|0;b[u>>1]=b[h+(z+176<<1)>>1]|0;b[v>>1]=b[h+(z+192<<1)>>1]|0;b[w>>1]=b[h+(z+208<<1)>>1]|0;b[x>>1]=b[h+(z+224<<1)>>1]|0;b[y>>1]=b[h+(z+240<<1)>>1]|0;ad(i,j);A=0;do{B=e+((S(A,f)|0)+z)|0;C=((b[j+(A<<1)>>1]|0)+32>>6)+(d[B>>0]|0)|0;a[B>>0]=(C|0)>255?-1:((C|0)>0?C:0)&255;A=A+1|0}while((A|0)!=16);z=z+1|0}while((z|0)!=16);l=g;return}function ed(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=(((((((b[c>>1]|0)*11585|0)+8192|0)>>>14<<16>>16)*11585|0)+8192|0)>>>14<<16>>16)+32>>6;c=e;e=0;while(1){h=0;do{i=c+h|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;h=h+1|0}while((h|0)!=16);e=e+1|0;if((e|0)==16)break;else c=c+f|0}return}
function fd(a,c){a=a|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0;d=b[a+2>>1]|0;e=b[a+62>>1]|0;f=((d*804|0)+8192+(S(e,-16364)|0)|0)>>>14;g=b[a+34>>1]|0;h=b[a+30>>1]|0;i=((g*12140|0)+8192+(S(h,-11003)|0)|0)>>>14;j=b[a+18>>1]|0;k=b[a+46>>1]|0;l=((j*7005|0)+8192+(S(k,-14811)|0)|0)>>>14;m=b[a+50>>1]|0;n=b[a+14>>1]|0;o=((m*15426|0)+8192+(S(n,-5520)|0)|0)>>>14;p=b[a+10>>1]|0;q=b[a+54>>1]|0;r=((p*3981|0)+8192+(S(q,-15893)|0)|0)>>>14;s=b[a+42>>1]|0;t=b[a+22>>1]|0;u=((s*14053|0)+8192+(S(t,-8423)|0)|0)>>>14;v=b[a+26>>1]|0;w=b[a+38>>1]|0;x=((v*9760|0)+8192+(S(w,-13160)|0)|0)>>>14;y=b[a+58>>1]|0;z=b[a+6>>1]|0;A=b[a+4>>1]|0;B=b[a+60>>1]|0;C=b[a+36>>1]|0;D=b[a+28>>1]|0;E=b[a+20>>1]|0;F=b[a+44>>1]|0;G=b[a+52>>1]|0;H=b[a+12>>1]|0;I=f<<16>>16;f=i<<16>>16;i=l<<16>>16;l=o<<16>>16;o=r<<16>>16;r=u<<16>>16;u=x<<16>>16;x=((y*16207|0)+8192+(S(z,-2404)|0)|0)>>>14<<16>>16;J=((y*2404|0)+8192+(z*16207|0)|0)>>>14<<16>>16;z=((v*13160|0)+8192+(w*9760|0)|0)>>>14<<16>>16;w=((s*8423|0)+8192+(t*14053|0)|0)>>>14<<16>>16;t=((p*15893|0)+8192+(q*3981|0)|0)>>>14<<16>>16;q=((m*5520|0)+8192+(n*15426|0)|0)>>>14<<16>>16;n=((j*14811|0)+8192+(k*7005|0)|0)>>>14<<16>>16;k=((g*11003|0)+8192+(h*12140|0)|0)>>>14<<16>>16;h=((d*16364|0)+8192+(e*804|0)|0)>>>14<<16>>16;e=b[a+8>>1]|0;d=b[a+56>>1]|0;g=b[a+40>>1]|0;j=b[a+24>>1]|0;m=((A*1606|0)+8192+(S(B,-16305)|0)|0)>>>14<<16>>16;p=((C*12665|0)+8192+(S(D,-10394)|0)|0)>>>14<<16>>16;s=((E*7723|0)+8192+(S(F,-14449)|0)|0)>>>14<<16>>16;v=((G*15679|0)+8192+(S(H,-4756)|0)|0)>>>14<<16>>16;y=((G*4756|0)+8192+(H*15679|0)|0)>>>14<<16>>16;H=((E*14449|0)+8192+(F*7723|0)|0)>>>14<<16>>16;F=((C*10394|0)+8192+(D*12665|0)|0)>>>14<<16>>16;D=((A*16305|0)+8192+(B*1606|0)|0)>>>14<<16>>16;B=I-f<<16>>16;A=h-k<<16>>16;C=l-i<<16>>16;E=q-n<<16>>16;G=o-r<<16>>16;K=t-w<<16>>16;L=x-u<<16>>16;M=J-z<<16>>16;N=b[a>>1]|0;O=b[a+32>>1]|0;P=b[a+16>>1]|0;Q=b[a+48>>1]|0;a=((e*3196|0)+8192+(S(d,-16069)|0)|0)>>>14<<16>>16;R=((g*13623|0)+8192+(S(j,-9102)|0)|0)>>>14<<16>>16;T=((g*9102|0)+8192+(j*13623|0)|0)>>>14<<16>>16;j=((e*16069|0)+8192+(d*3196|0)|0)>>>14<<16>>16;d=m-p<<16>>16;e=D-F<<16>>16;g=v-s<<16>>16;U=y-H<<16>>16;V=f+I<<16>>16;I=l+i<<16>>16;i=((A*3196|0)+8192+(S(B,-16069)|0)|0)>>>14<<16>>16;l=((S(E,-16069)|0)+8192+(S(C,-3196)|0)|0)>>>14<<16>>16;f=r+o<<16>>16;o=x+u<<16>>16;u=((K*13623|0)+8192+(S(G,-9102)|0)|0)>>>14<<16>>16;x=((S(M,-9102)|0)+8192+(S(L,-13623)|0)|0)>>>14<<16>>16;r=J+z<<16>>16;z=w+t<<16>>16;t=((M*13623|0)+8192+(S(L,-9102)|0)|0)>>>14<<16>>16;L=((K*9102|0)+8192+(G*13623|0)|0)>>>14<<16>>16;G=q+n<<16>>16;n=k+h<<16>>16;h=((E*3196|0)+8192+(S(C,-16069)|0)|0)>>>14<<16>>16;C=((A*16069|0)+8192+(B*3196|0)|0)>>>14<<16>>16;B=(((O+N|0)*11585|0)+8192|0)>>>14<<16>>16;A=((P*15137|0)+8192+(Q*6270|0)|0)>>>14<<16>>16;E=(((N-O|0)*11585|0)+8192|0)>>>14<<16>>16;O=((P*6270|0)+8192+(S(Q,-15137)|0)|0)>>>14<<16>>16;Q=j-T<<16>>16;P=a-R<<16>>16;N=m+p<<16>>16;p=s+v<<16>>16;v=((e*6270|0)+8192+(S(d,-15137)|0)|0)>>>14<<16>>16;s=((S(U,-15137)|0)+8192+(S(g,-6270)|0)|0)>>>14<<16>>16;m=H+y<<16>>16;y=D+F<<16>>16;F=((U*6270|0)+8192+(S(g,-15137)|0)|0)>>>14<<16>>16;g=((e*15137|0)+8192+(d*6270|0)|0)>>>14<<16>>16;d=i-l<<16>>16;e=C-h<<16>>16;U=V-I<<16>>16;D=n-G<<16>>16;H=o-f<<16>>16;k=r-z<<16>>16;q=x-u<<16>>16;K=t-L<<16>>16;M=A+B<<16>>16;w=j+T<<16>>16;T=O+E<<16>>16;j=(((P+Q|0)*11585|0)+8192|0)>>>14<<16>>16;J=E-O<<16>>16;O=(((Q-P|0)*11585|0)+8192|0)>>>14<<16>>16;P=B-A<<16>>16;A=a+R<<16>>16;R=v-s<<16>>16;a=g-F<<16>>16;B=N-p<<16>>16;Q=y-m<<16>>16;E=I+V<<16>>16;V=o+f<<16>>16;f=l+i<<16>>16;i=x+u<<16>>16;u=((e*6270|0)+8192+(S(d,-15137)|0)|0)>>>14<<16>>16;x=((S(K,-15137)|0)+8192+(S(q,-6270)|0)|0)>>>14<<16>>16;l=((D*6270|0)+8192+(S(U,-15137)|0)|0)>>>14<<16>>16;o=((S(k,-15137)|0)+8192+(S(H,-6270)|0)|0)>>>14<<16>>16;I=r+z<<16>>16;z=G+n<<16>>16;n=t+L<<16>>16;L=h+C<<16>>16;C=((K*6270|0)+8192+(S(q,-15137)|0)|0)>>>14<<16>>16;q=((e*15137|0)+8192+(d*6270|0)|0)>>>14<<16>>16;d=((k*6270|0)+8192+(S(H,-15137)|0)|0)>>>14<<16>>16;H=((D*15137|0)+8192+(U*6270|0)|0)>>>14<<16>>16;U=w+M<<16>>16;D=y+m<<16>>16;m=j+T<<16>>16;y=g+F<<16>>16;F=O+J<<16>>16;g=(((R+a|0)*11585|0)+8192|0)>>>14<<16>>16;k=A+P<<16>>16;e=(((B+Q|0)*11585|0)+8192|0)>>>14<<16>>16;K=P-A<<16>>16;A=(((Q-B|0)*11585|0)+8192|0)>>>14<<16>>16;B=J-O<<16>>16;O=(((a-R|0)*11585|0)+8192|0)>>>14<<16>>16;R=T-j<<16>>16;j=v+s<<16>>16;s=M-w<<16>>16;w=N+p<<16>>16;p=l-o<<16>>16;N=H-d<<16>>16;M=u-x<<16>>16;v=q-C<<16>>16;T=f-i<<16>>16;a=L-n<<16>>16;J=E-V<<16>>16;Q=z-I<<16>>16;P=D+U<<16>>16;h=I+z<<16>>16;b[c>>1]=h+P;z=y+m<<16>>16;I=n+L<<16>>16;b[c+2>>1]=I+z;L=g+F<<16>>16;n=C+q<<16>>16;b[c+4>>1]=n+L;q=e+k<<16>>16;C=d+H<<16>>16;b[c+6>>1]=C+q;H=A+K<<16>>16;d=(((p+N|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+8>>1]=d+H;t=O+B<<16>>16;G=(((M+v|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+10>>1]=G+t;r=j+R<<16>>16;W=(((T+a|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+12>>1]=W+r;X=w+s<<16>>16;Y=(((J+Q|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+14>>1]=Y+X;Z=s-w<<16>>16;w=(((Q-J|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+16>>1]=w+Z;J=R-j<<16>>16;j=(((a-T|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+18>>1]=j+J;T=B-O<<16>>16;O=(((v-M|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+20>>1]=O+T;M=K-A<<16>>16;A=(((N-p|0)*11585|0)+8192|0)>>>14<<16>>16;b[c+22>>1]=A+M;p=k-e<<16>>16;e=o+l<<16>>16;b[c+24>>1]=e+p;l=F-g<<16>>16;g=x+u<<16>>16;b[c+26>>1]=g+l;u=m-y<<16>>16;y=i+f<<16>>16;b[c+28>>1]=y+u;f=U-D<<16>>16;D=V+E<<16>>16;b[c+30>>1]=D+f;b[c+32>>1]=f-D;b[c+34>>1]=u-y;b[c+36>>1]=l-g;b[c+38>>1]=p-e;b[c+40>>1]=M-A;b[c+42>>1]=T-O;b[c+44>>1]=J-j;b[c+46>>1]=Z-w;b[c+48>>1]=X-Y;b[c+50>>1]=r-W;b[c+52>>1]=t-G;b[c+54>>1]=H-d;b[c+56>>1]=q-C;b[c+58>>1]=L-n;b[c+60>>1]=z-I;b[c+62>>1]=P-h;return}function gd(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;g=l;l=l+2208|0;h=g+160|0;i=g+96|0;j=g+32|0;k=g;m=k+2|0;n=k+4|0;o=k+6|0;p=k+8|0;q=k+10|0;r=k+12|0;s=k+14|0;t=k+16|0;u=k+18|0;v=k+20|0;w=k+22|0;x=k+24|0;y=k+26|0;z=k+28|0;A=k+30|0;B=0;C=c;c=h;while(1){D=0;do{E=D<<1;b[k+(D<<1)>>1]=b[C+((E|1)<<1)>>1]|b[C+(E<<1)>>1];D=D+1|0}while((D|0)!=16);D=b[m>>1]|b[k>>1];E=b[o>>1]|b[n>>1];F=b[q>>1]|b[p>>1];G=b[s>>1]|b[r>>1];H=b[u>>1]|b[t>>1];b[p>>1]=H;I=b[w>>1]|b[v>>1];b[q>>1]=I;J=b[y>>1]|b[x>>1];b[r>>1]=J;K=b[A>>1]|b[z>>1];b[s>>1]=K;L=I|H;b[n>>1]=L;H=K|J;b[o>>1]=H;J=G|F|(E|D);b[k>>1]=J;D=H|L;b[m>>1]=D;if(!((D|J)<<16>>16)){J=c;D=J+64|0;do{b[J>>1]=0;J=J+2|0}while((J|0)<(D|0))}else fd(C,c);B=B+1|0;if((B|0)==32)break;else{C=C+64|0;c=c+64|0}}c=0;do{C=0;do{b[i+(C<<1)>>1]=b[h+((C<<5)+c<<1)>>1]|0;C=C+1|0}while((C|0)!=32);fd(i,j);C=0;do{B=e+((S(C,f)|0)+c)|0;m=((b[j+(C<<1)>>1]|0)+32>>6)+(d[B>>0]|0)|0;a[B>>0]=(m|0)>255?-1:((m|0)>0?m:0)&255;C=C+1|0}while((C|0)!=32);c=c+1|0}while((c|0)!=32);l=g;return}function hd(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;g=l;l=l+2176|0;h=g+128|0;i=g+64|0;j=g;qh(h|0,0,2048)|0;fd(c,h);fd(c+64|0,h+64|0);fd(c+128|0,h+128|0);fd(c+192|0,h+192|0);fd(c+256|0,h+256|0);fd(c+320|0,h+320|0);fd(c+384|0,h+384|0);fd(c+448|0,h+448|0);fd(c+512|0,h+512|0);fd(c+576|0,h+576|0);fd(c+640|0,h+640|0);fd(c+704|0,h+704|0);fd(c+768|0,h+768|0);fd(c+832|0,h+832|0);fd(c+896|0,h+896|0);fd(c+960|0,h+960|0);c=0;do{k=0;do{b[i+(k<<1)>>1]=b[h+((k<<5)+c<<1)>>1]|0;k=k+1|0}while((k|0)!=32);fd(i,j);k=0;do{m=e+((S(k,f)|0)+c)|0;n=((b[j+(k<<1)>>1]|0)+32>>6)+(d[m>>0]|0)|0;a[m>>0]=(n|0)>255?-1:((n|0)>0?n:0)&255;k=k+1|0}while((k|0)!=32);c=c+1|0}while((c|0)!=32);l=g;return}function id(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;g=l;l=l+2176|0;h=g+128|0;i=g+64|0;j=g;qh(h|0,0,2048)|0;fd(c,h);fd(c+64|0,h+64|0);fd(c+128|0,h+128|0);fd(c+192|0,h+192|0);fd(c+256|0,h+256|0);fd(c+320|0,h+320|0);fd(c+384|0,h+384|0);fd(c+448|0,h+448|0);c=0;do{k=0;do{b[i+(k<<1)>>1]=b[h+((k<<5)+c<<1)>>1]|0;k=k+1|0}while((k|0)!=32);fd(i,j);k=0;do{m=e+((S(k,f)|0)+c)|0;n=((b[j+(k<<1)>>1]|0)+32>>6)+(d[m>>0]|0)|0;a[m>>0]=(n|0)>255?-1:((n|0)>0?n:0)&255;k=k+1|0}while((k|0)!=32);c=c+1|0}while((c|0)!=32);l=g;return}function jd(c,e,f){c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=(((((((b[c>>1]|0)*11585|0)+8192|0)>>>14<<16>>16)*11585|0)+8192|0)>>>14<<16>>16)+32>>6;c=e;e=0;while(1){h=0;do{i=c+h|0;j=(d[i>>0]|0)+g|0;a[i>>0]=(j|0)>255?-1:((j|0)>0?j:0)&255;h=h+1|0}while((h|0)!=32);e=e+1|0;if((e|0)==32)break;else c=c+f|0}return}function kd(){if(c[8577]|0)return;c[8577]=1;return}function ld(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function md(a){a=a|0;var b=0;c[a+20>>2]=0;b=a+4|0;if(c[b>>2]|0)return 1;c[b>>2]=1;return 1}function nd(a){a=a|0;return (c[a+20>>2]|0)==0|0}function od(a){a=a|0;var b=0,d=0;b=c[a+8>>2]|0;if(!b)return;d=(Ea[b&31](c[a+12>>2]|0,c[a+16>>2]|0)|0)==0&1;b=a+20|0;c[b>>2]=d|c[b>>2];return}function pd(a){a=a|0;var b=0,d=0;b=c[a+8>>2]|0;if(!b)return;d=(Ea[b&31](c[a+12>>2]|0,c[a+16>>2]|0)|0)==0&1;b=a+20|0;c[b>>2]=d|c[b>>2];return}function qd(a){a=a|0;c[a+4>>2]=0;return}function rd(){return 19464}function sd(a){a=a|0;return}function td(a){a=a|0;return}function ud(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=b+7>>3;c[a+608>>2]=e;b=d+7>>3;c[a+600>>2]=b;c[a+612>>2]=e+8;d=e+1>>1;c[a+604>>2]=d;e=b+1>>1;c[a+596>>2]=e;c[a+592>>2]=S(e,d)|0;return}function vd(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+8|0;d=0;do{e=a+12+(d*160|0)|0;if((c[e>>2]|0)>0?(f=a+12+(d*160|0)+16|0,c[f>>2]|0):0){Ea[c[b>>2]&31](c[a>>2]|0,f)|0;c[e>>2]=0}e=a+12+(d*160|0)+4|0;Wa(c[e>>2]|0);c[e>>2]=0;Xa(a+12+(d*160|0)+28|0)|0;d=d+1|0}while((d|0)!=15);return}function wd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=b+7>>3;b=a+608|0;c[b>>2]=e;f=d+7>>3;d=a+600|0;c[d>>2]=f;g=e+8|0;h=a+612|0;c[h>>2]=g;i=e+1>>1;j=a+604|0;c[j>>2]=i;k=f+1>>1;l=a+596|0;c[l>>2]=k;m=a+592|0;c[m>>2]=S(k,i)|0;i=S(f+8|0,g)|0;if((c[a+700>>2]|0)<(i|0)){ya[c[a+724>>2]&15](a);if(!(Ea[c[a+720>>2]&31](a,i)|0)){n=c[b>>2]|0;o=c[d>>2]|0;p=4}}else{n=e;o=f;p=4}do if((p|0)==4){f=a+776|0;if((c[f>>2]|0)<(S(n,o)|0)){e=a+760|0;Wa(c[e>>2]|0);c[e>>2]=0;i=a+764|0;Wa(c[i>>2]|0);c[i>>2]=0;g=a+772|0;c[g>>2]=0;k=a+4096|0;if(!(c[k>>2]|0))c[a+768>>2]=0;q=S(c[b>>2]|0,c[d>>2]|0)|0;r=Va(q,1)|0;c[e>>2]=r;if(!r)break;r=Va(q,1)|0;c[i>>2]=r;if(!r)break;c[f>>2]=q;c[a+752>>2]=0;c[a+756>>2]=1;c[g>>2]=c[a+760>>2];if(!(c[k>>2]|0))c[a+768>>2]=r}r=a+17416|0;if((c[r>>2]|0)<(c[b>>2]|0)){k=a+17412|0;Wa(c[k>>2]|0);g=Va(((c[b>>2]|0)+7&-8)*6|0,1)|0;c[k>>2]=g;if(!g)break;g=a+17408|0;Wa(c[g>>2]|0);k=Va((c[b>>2]|0)+7&-8,1)|0;c[g>>2]=k;if(!k)break;c[r>>2]=c[b>>2]}r=a+3972|0;Wa(c[r>>2]|0);k=(c[b>>2]|0)+7>>3;c[a+3976>>2]=k;g=Va(S((c[d>>2]|0)+7>>3,k)|0,160)|0;c[r>>2]=g;if(g|0){s=0;return s|0}}while(0);c[b>>2]=0;c[d>>2]=0;c[h>>2]=8;c[j>>2]=0;c[l>>2]=0;c[m>>2]=0;ya[c[a+724>>2]&15](a);m=a+760|0;Wa(c[m>>2]|0);c[m>>2]=0;m=a+764|0;Wa(c[m>>2]|0);c[m>>2]=0;c[a+772>>2]=0;if(!(c[a+4096>>2]|0))c[a+768>>2]=0;m=a+17412|0;Wa(c[m>>2]|0);c[m>>2]=0;m=a+17408|0;Wa(c[m>>2]|0);c[m>>2]=0;m=a+3972|0;Wa(c[m>>2]|0);c[m>>2]=0;s=1;return s|0}function xd(a){a=a|0;var b=0;ya[c[a+724>>2]&15](a);b=a+760|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+764|0;Wa(c[b>>2]|0);c[b>>2]=0;c[a+772>>2]=0;if(!(c[a+4096>>2]|0))c[a+768>>2]=0;b=a+17412|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+17408|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+3972|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+4108|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+4112|0;Wa(c[b>>2]|0);c[b>>2]=0;return}function yd(a){a=a|0;var b=0;ya[c[a+728>>2]&15](a);b=c[a+768>>2]|0;if(!b)return;if(c[a+4096>>2]|0)return;qh(b|0,0,S(c[a+608>>2]|0,c[a+600>>2]|0)|0)|0;return}function zd(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+752|0;d=c[b>>2]|0;e=a+756|0;f=c[e>>2]|0;c[b>>2]=f;c[e>>2]=d;c[a+772>>2]=c[a+760+(f<<2)>>2];c[a+768>>2]=c[a+760+(d<<2)>>2];return}function Ad(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;if((e|2|0)!=2){f=a[b+20+((e+-1|0)*12|0)>>0]|0;return f|0}if(!c){f=0;return f|0}if((a[c+8>>0]|0)>0){f=0;return f|0}f=a[((d[c>>0]|0)<3?c+20+((e+1|0)*12|0)|0:c+1|0)>>0]|0;return f|0}function Bd(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;if((e|1|0)!=1){f=a[b+20+((e+-2|0)*12|0)>>0]|0;return f|0}if(!c){f=0;return f|0}if((a[c+8>>0]|0)>0){f=0;return f|0}f=a[((d[c>>0]|0)<3?c+20+((e+2|0)*12|0)|0:c+1|0)>>0]|0;return f|0}function Cd(a,b,d){a=a|0;b=b|0;d=d|0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+92>>2]=b;c[a+96>>2]=d;c[a+180>>2]=b;c[a+184>>2]=d;return}function Dd(a){a=a|0;var b=0;b=a+4108|0;vh((c[b>>2]|0)+174|0,24898,432)|0;vh((c[b>>2]|0)+606|0,25330,432)|0;vh((c[b>>2]|0)+1038|0,25762,432)|0;vh((c[b>>2]|0)+1470|0,26194,432)|0;return}function Ed(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((c[b+564>>2]|0)!=0?(a[b+580>>0]|0)==0:0)d=(c[b+560>>2]|0)==0?128:112;else d=112;e=b+4112|0;f=b+4116|0;g=b+4108|0;h=0;do{i=c[e>>2]|0;j=c[f>>2]|0;k=c[g>>2]|0;l=0;do{m=0;do{n=0;do{o=(n|0)==0?3:6;p=0;do{q=c[b+4936+(h*2304|0)+(l*1152|0)+(m*576|0)+(n*96|0)+(p<<4)>>2]|0;r=c[b+4936+(h*2304|0)+(l*1152|0)+(m*576|0)+(n*96|0)+(p<<4)+4>>2]|0;s=c[b+14152+(h*576|0)+(l*288|0)+(m*144|0)+(n*24|0)+(p<<2)>>2]|0;t=(c[b+4936+(h*2304|0)+(l*1152|0)+(m*576|0)+(n*96|0)+(p<<4)+8>>2]|0)+r|0;u=a[i+(j*2044|0)+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)>>0]|0;if(!s)v=128;else{w=sh(c[b+4936+(h*2304|0)+(l*1152|0)+(m*576|0)+(n*96|0)+(p<<4)+12>>2]|0,0,8)|0;x=ph(w|0,D|0,s>>>1|0,0)|0;w=yh(x|0,D|0,s|0,0)|0;v=((255-w|0)>>>23|w)&255|(w|0)==0}w=((S(s>>>0<24?s:24,d)|0)>>>0)/24|0;a[k+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)>>0]=((S(256-w|0,u&255)|0)+128+(S(v,w)|0)|0)>>>8;w=a[i+(j*2044|0)+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)+1>>0]|0;u=t+q|0;if(!u)y=128;else{s=sh(q|0,0,8)|0;q=ph(u>>>1|0,0,s|0,D|0)|0;s=yh(q|0,D|0,u|0,0)|0;y=((255-s|0)>>>23|s)&255|(s|0)==0}s=((S(u>>>0<24?u:24,d)|0)>>>0)/24|0;a[k+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)+1>>0]=((S(w&255,256-s|0)|0)+128+(S(y,s)|0)|0)>>>8;s=a[i+(j*2044|0)+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)+2>>0]|0;if(!t)z=128;else{w=sh(r|0,0,8)|0;r=ph(t>>>1|0,0,w|0,D|0)|0;w=yh(r|0,D|0,t|0,0)|0;z=((255-w|0)>>>23|w)&255|(w|0)==0}w=((S(t>>>0<24?t:24,d)|0)>>>0)/24|0;a[k+174+(h*432|0)+(l*216|0)+(m*108|0)+(n*18|0)+(p*3|0)+2>>0]=((S(s&255,256-w|0)|0)+128+(S(z,w)|0)|0)>>>8;p=p+1|0}while((p|0)<(o|0));n=n+1|0}while((n|0)!=6);m=m+1|0}while((m|0)!=2);l=l+1|0}while((l|0)!=2);h=h+1|0}while((h|0)!=4);return}function Fd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;d=c[b+4108>>2]|0;e=c[b+4112>>2]|0;f=c[b+4116>>2]|0;g=a[e+(f*2044|0)+1931>>0]|0;h=c[b+16616>>2]|0;i=(c[b+16620>>2]|0)+h|0;if(!i)j=g;else{k=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(h|0,0,8)|0;h=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(h|0,D|0,i|0,0)|0;j=((S(256-k|0,g&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,k)|0)|0)>>>8&255}a[d+1931>>0]=j;j=a[e+(f*2044|0)+1932>>0]|0;k=c[b+16624>>2]|0;l=(c[b+16628>>2]|0)+k|0;if(!l)m=j;else{g=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(k|0,0,8)|0;k=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(k|0,D|0,l|0,0)|0;m=((S(256-g|0,j&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,g)|0)|0)>>>8&255}a[d+1932>>0]=m;m=a[e+(f*2044|0)+1933>>0]|0;g=c[b+16632>>2]|0;i=(c[b+16636>>2]|0)+g|0;if(!i)n=m;else{j=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(g|0,0,8)|0;g=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(g|0,D|0,i|0,0)|0;n=((S(256-j|0,m&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,j)|0)|0)>>>8&255}a[d+1933>>0]=n;n=a[e+(f*2044|0)+1934>>0]|0;j=c[b+16640>>2]|0;l=(c[b+16644>>2]|0)+j|0;if(!l)o=n;else{m=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(j|0,0,8)|0;j=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(j|0,D|0,l|0,0)|0;o=((S(256-m|0,n&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,m)|0)|0)>>>8&255}a[d+1934>>0]=o;o=a[e+(f*2044|0)+1935>>0]|0;m=c[b+16648>>2]|0;i=(c[b+16652>>2]|0)+m|0;if(!i)p=o;else{n=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(m|0,0,8)|0;m=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(m|0,D|0,i|0,0)|0;p=((S(256-n|0,o&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,n)|0)|0)>>>8&255}a[d+1935>>0]=p;p=a[e+(f*2044|0)+1936>>0]|0;n=c[b+16656>>2]|0;l=(c[b+16660>>2]|0)+n|0;if(!l)q=p;else{o=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(n|0,0,8)|0;n=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(n|0,D|0,l|0,0)|0;q=((S(256-o|0,p&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,o)|0)|0)>>>8&255}a[d+1936>>0]=q;q=a[e+(f*2044|0)+1937>>0]|0;o=c[b+16664>>2]|0;i=(c[b+16668>>2]|0)+o|0;if(!i)r=q;else{p=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(o|0,0,8)|0;o=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(o|0,D|0,i|0,0)|0;r=((S(256-p|0,q&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,p)|0)|0)>>>8&255}a[d+1937>>0]=r;r=a[e+(f*2044|0)+1938>>0]|0;p=c[b+16672>>2]|0;l=(c[b+16676>>2]|0)+p|0;if(!l)s=r;else{q=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(p|0,0,8)|0;p=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(p|0,D|0,l|0,0)|0;s=((S(256-q|0,r&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,q)|0)|0)>>>8&255}a[d+1938>>0]=s;s=a[e+(f*2044|0)+1939>>0]|0;q=c[b+16680>>2]|0;i=(c[b+16684>>2]|0)+q|0;if(!i)t=s;else{r=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(q|0,0,8)|0;q=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(q|0,D|0,i|0,0)|0;t=((S(256-r|0,s&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,r)|0)|0)>>>8&255}a[d+1939>>0]=t;t=a[e+(f*2044|0)+1950>>0]|0;r=c[b+16768>>2]|0;l=(c[b+16772>>2]|0)+r|0;if(!l)u=t;else{s=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(r|0,0,8)|0;r=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(r|0,D|0,l|0,0)|0;u=((S(256-s|0,t&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,s)|0)|0)>>>8&255}a[d+1950>>0]=u;u=a[e+(f*2044|0)+1951>>0]|0;s=c[b+16776>>2]|0;i=(c[b+16780>>2]|0)+s|0;if(!i)v=u;else{t=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(s|0,0,8)|0;s=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(s|0,D|0,i|0,0)|0;v=((S(256-t|0,u&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,t)|0)|0)>>>8&255}a[d+1951>>0]=v;v=a[e+(f*2044|0)+1952>>0]|0;t=c[b+16784>>2]|0;l=(c[b+16788>>2]|0)+t|0;if(!l)w=v;else{u=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(t|0,0,8)|0;t=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(t|0,D|0,l|0,0)|0;w=((S(256-u|0,v&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,u)|0)|0)>>>8&255}a[d+1952>>0]=w;w=a[e+(f*2044|0)+1953>>0]|0;u=c[b+16792>>2]|0;i=(c[b+16796>>2]|0)+u|0;if(!i)x=w;else{v=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(u|0,0,8)|0;u=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(u|0,D|0,i|0,0)|0;x=((S(256-v|0,w&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,v)|0)|0)>>>8&255}a[d+1953>>0]=x;x=a[e+(f*2044|0)+1954>>0]|0;v=c[b+16800>>2]|0;l=(c[b+16804>>2]|0)+v|0;if(!l)y=x;else{w=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(v|0,0,8)|0;v=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(v|0,D|0,l|0,0)|0;y=((S(256-w|0,x&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,w)|0)|0)>>>8&255}a[d+1954>>0]=y;y=a[e+(f*2044|0)+1940>>0]|0;w=c[b+16688>>2]|0;i=(c[b+16692>>2]|0)+w|0;if(!i)z=y;else{x=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(w|0,0,8)|0;w=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(w|0,D|0,i|0,0)|0;z=((S(256-x|0,y&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,x)|0)|0)>>>8&255}a[d+1940>>0]=z;z=a[e+(f*2044|0)+1941>>0]|0;x=c[b+16696>>2]|0;l=(c[b+16700>>2]|0)+x|0;if(!l)A=z;else{y=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(x|0,0,8)|0;x=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(x|0,D|0,l|0,0)|0;A=((S(256-y|0,z&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,y)|0)|0)>>>8&255}a[d+1941>>0]=A;A=a[e+(f*2044|0)+1942>>0]|0;y=c[b+16704>>2]|0;i=(c[b+16708>>2]|0)+y|0;if(!i)B=A;else{z=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(y|0,0,8)|0;y=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(y|0,D|0,i|0,0)|0;B=((S(256-z|0,A&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,z)|0)|0)>>>8&255}a[d+1942>>0]=B;B=a[e+(f*2044|0)+1943>>0]|0;z=c[b+16712>>2]|0;l=(c[b+16716>>2]|0)+z|0;if(!l)C=B;else{A=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(z|0,0,8)|0;z=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(z|0,D|0,l|0,0)|0;C=((S(256-A|0,B&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,A)|0)|0)>>>8&255}a[d+1943>>0]=C;C=a[e+(f*2044|0)+1944>>0]|0;A=c[b+16720>>2]|0;i=(c[b+16724>>2]|0)+A|0;if(!i)E=C;else{B=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(A|0,0,8)|0;A=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(A|0,D|0,i|0,0)|0;E=((S(256-B|0,C&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,B)|0)|0)>>>8&255}a[d+1944>>0]=E;E=a[e+(f*2044|0)+1945>>0]|0;B=c[b+16728>>2]|0;l=(c[b+16732>>2]|0)+B|0;if(!l)F=E;else{C=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(B|0,0,8)|0;B=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(B|0,D|0,l|0,0)|0;F=((S(256-C|0,E&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,C)|0)|0)>>>8&255}a[d+1945>>0]=F;F=a[e+(f*2044|0)+1946>>0]|0;C=c[b+16736>>2]|0;i=(c[b+16740>>2]|0)+C|0;if(!i)G=F;else{E=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(C|0,0,8)|0;C=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(C|0,D|0,i|0,0)|0;G=((S(256-E|0,F&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,E)|0)|0)>>>8&255}a[d+1946>>0]=G;G=a[e+(f*2044|0)+1947>>0]|0;E=c[b+16744>>2]|0;l=(c[b+16748>>2]|0)+E|0;if(!l)H=G;else{F=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(E|0,0,8)|0;E=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(E|0,D|0,l|0,0)|0;H=((S(256-F|0,G&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,F)|0)|0)>>>8&255}a[d+1947>>0]=H;H=a[e+(f*2044|0)+1948>>0]|0;F=c[b+16752>>2]|0;i=(c[b+16756>>2]|0)+F|0;if(!i)I=H;else{G=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=sh(F|0,0,8)|0;F=ph(i>>>1|0,0,l|0,D|0)|0;l=yh(F|0,D|0,i|0,0)|0;I=((S(256-G|0,H&255)|0)+128+(S(((255-l|0)>>>23|l)&255|(l|0)==0,G)|0)|0)>>>8&255}a[d+1948>>0]=I;I=a[e+(f*2044|0)+1949>>0]|0;G=c[b+16760>>2]|0;l=(c[b+16764>>2]|0)+G|0;if(!l)J=I;else{H=c[19488+((l>>>0<20?l:20)<<2)>>2]|0;i=sh(G|0,0,8)|0;G=ph(l>>>1|0,0,i|0,D|0)|0;i=yh(G|0,D|0,l|0,0)|0;J=((S(256-H|0,I&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,H)|0)|0)>>>8&255}a[d+1949>>0]=J;ab(27682,e+(f*2044|0)+1910|0,b+16504|0,d+1910|0);ab(27682,e+(f*2044|0)+1913|0,b+16520|0,d+1913|0);ab(27682,e+(f*2044|0)+1916|0,b+16536|0,d+1916|0);ab(27682,e+(f*2044|0)+1919|0,b+16552|0,d+1919|0);ab(27682,e+(f*2044|0)+1922|0,b+16568|0,d+1922|0);ab(27682,e+(f*2044|0)+1925|0,b+16584|0,d+1925|0);ab(27682,e+(f*2044|0)+1928|0,b+16600|0,d+1928|0);ab(27664,e+(f*2044|0)|0,b+4120|0,d);ab(27664,e+(f*2044|0)+9|0,b+4160|0,d+9|0);ab(27664,e+(f*2044|0)+18|0,b+4200|0,d+18|0);ab(27664,e+(f*2044|0)+27|0,b+4240|0,d+27|0);ab(27664,e+(f*2044|0)+36|0,b+4280|0,d+36|0);ab(27664,e+(f*2044|0)+45|0,b+4320|0,d+45|0);ab(27664,e+(f*2044|0)+54|0,b+4360|0,d+54|0);ab(27664,e+(f*2044|0)+63|0,b+4400|0,d+63|0);ab(27664,e+(f*2044|0)+72|0,b+4440|0,d+72|0);ab(27664,e+(f*2044|0)+81|0,b+4480|0,d+81|0);ab(27664,e+(f*2044|0)+90|0,b+4520|0,d+90|0);ab(27664,e+(f*2044|0)+99|0,b+4560|0,d+99|0);ab(27664,e+(f*2044|0)+108|0,b+4600|0,d+108|0);ab(27664,e+(f*2044|0)+117|0,b+4640|0,d+117|0);ab(27688,e+(f*2044|0)+126|0,b+4680|0,d+126|0);ab(27688,e+(f*2044|0)+129|0,b+4696|0,d+129|0);ab(27688,e+(f*2044|0)+132|0,b+4712|0,d+132|0);ab(27688,e+(f*2044|0)+135|0,b+4728|0,d+135|0);ab(27688,e+(f*2044|0)+138|0,b+4744|0,d+138|0);ab(27688,e+(f*2044|0)+141|0,b+4760|0,d+141|0);ab(27688,e+(f*2044|0)+144|0,b+4776|0,d+144|0);ab(27688,e+(f*2044|0)+147|0,b+4792|0,d+147|0);ab(27688,e+(f*2044|0)+150|0,b+4808|0,d+150|0);ab(27688,e+(f*2044|0)+153|0,b+4824|0,d+153|0);ab(27688,e+(f*2044|0)+156|0,b+4840|0,d+156|0);ab(27688,e+(f*2044|0)+159|0,b+4856|0,d+159|0);ab(27688,e+(f*2044|0)+162|0,b+4872|0,d+162|0);ab(27688,e+(f*2044|0)+165|0,b+4888|0,d+165|0);ab(27688,e+(f*2044|0)+168|0,b+4904|0,d+168|0);ab(27688,e+(f*2044|0)+171|0,b+4920|0,d+171|0);if((a[b+780>>0]|0)==4){ab(27694,e+(f*2044|0)+1902|0,b+16456|0,d+1902|0);ab(27694,e+(f*2044|0)+1904|0,b+16468|0,d+1904|0);ab(27694,e+(f*2044|0)+1906|0,b+16480|0,d+1906|0);ab(27694,e+(f*2044|0)+1908|0,b+16492|0,d+1908|0)}if((c[b+616>>2]|0)==4){J=c[b+16864>>2]|0;H=a[e+(f*2044|0)+1965>>0]|0;i=(c[b+16868>>2]|0)+J|0;if(!i)K=H;else{I=sh(J|0,0,8)|0;J=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;l=ph(i>>>1|0,0,I|0,D|0)|0;I=yh(l|0,D|0,i|0,0)|0;K=((S(256-J|0,H&255)|0)+128+(S(((255-I|0)>>>23|I)&255|(I|0)==0,J)|0)|0)>>>8&255}a[d+1965>>0]=K;K=c[b+16840>>2]|0;J=c[b+16844>>2]|0;I=(c[b+16848>>2]|0)+J|0;H=a[e+(f*2044|0)+1961>>0]|0;i=I+K|0;if(!i)L=H;else{l=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;G=sh(K|0,0,8)|0;K=ph(i>>>1|0,0,G|0,D|0)|0;G=yh(K|0,D|0,i|0,0)|0;L=((S(256-l|0,H&255)|0)+128+(S(((255-G|0)>>>23|G)&255|(G|0)==0,l)|0)|0)>>>8&255}a[d+1961>>0]=L;L=a[e+(f*2044|0)+1962>>0]|0;if(!I)M=L;else{l=c[19488+((I>>>0<20?I:20)<<2)>>2]|0;G=sh(J|0,0,8)|0;J=ph(I>>>1|0,0,G|0,D|0)|0;G=yh(J|0,D|0,I|0,0)|0;M=((S(256-l|0,L&255)|0)+128+(S(((255-G|0)>>>23|G)&255|(G|0)==0,l)|0)|0)>>>8&255}a[d+1962>>0]=M;M=c[b+16808>>2]|0;l=c[b+16812>>2]|0;G=c[b+16816>>2]|0;L=c[b+16820>>2]|0;I=L+G|0;J=a[e+(f*2044|0)+1955>>0]|0;H=G+l+L+M|0;if(!H)N=J;else{L=c[19488+((H>>>0<20?H:20)<<2)>>2]|0;i=sh(M|0,0,8)|0;M=ph(H>>>1|0,0,i|0,D|0)|0;i=yh(M|0,D|0,H|0,0)|0;N=((S(256-L|0,J&255)|0)+128+(S(((255-i|0)>>>23|i)&255|(i|0)==0,L)|0)|0)>>>8&255}a[d+1955>>0]=N;N=a[e+(f*2044|0)+1956>>0]|0;L=I+l|0;if(!L)O=N;else{i=c[19488+((L>>>0<20?L:20)<<2)>>2]|0;J=sh(l|0,0,8)|0;l=ph(L>>>1|0,0,J|0,D|0)|0;J=yh(l|0,D|0,L|0,0)|0;O=((S(256-i|0,N&255)|0)+128+(S(((255-J|0)>>>23|J)&255|(J|0)==0,i)|0)|0)>>>8&255}a[d+1956>>0]=O;O=a[e+(f*2044|0)+1957>>0]|0;if(!I)P=O;else{i=c[19488+((I>>>0<20?I:20)<<2)>>2]|0;J=sh(G|0,0,8)|0;G=ph(I>>>1|0,0,J|0,D|0)|0;J=yh(G|0,D|0,I|0,0)|0;P=((S(256-i|0,O&255)|0)+128+(S(((255-J|0)>>>23|J)&255|(J|0)==0,i)|0)|0)>>>8&255}a[d+1957>>0]=P;P=c[b+16872>>2]|0;i=a[e+(f*2044|0)+1966>>0]|0;J=(c[b+16876>>2]|0)+P|0;if(!J)Q=i;else{O=sh(P|0,0,8)|0;P=c[19488+((J>>>0<20?J:20)<<2)>>2]|0;I=ph(J>>>1|0,0,O|0,D|0)|0;O=yh(I|0,D|0,J|0,0)|0;Q=((S(256-P|0,i&255)|0)+128+(S(((255-O|0)>>>23|O)&255|(O|0)==0,P)|0)|0)>>>8&255}a[d+1966>>0]=Q;Q=c[b+16852>>2]|0;P=c[b+16856>>2]|0;O=(c[b+16860>>2]|0)+P|0;i=a[e+(f*2044|0)+1963>>0]|0;J=O+Q|0;if(!J)R=i;else{I=c[19488+((J>>>0<20?J:20)<<2)>>2]|0;G=sh(Q|0,0,8)|0;Q=ph(J>>>1|0,0,G|0,D|0)|0;G=yh(Q|0,D|0,J|0,0)|0;R=((S(256-I|0,i&255)|0)+128+(S(((255-G|0)>>>23|G)&255|(G|0)==0,I)|0)|0)>>>8&255}a[d+1963>>0]=R;R=a[e+(f*2044|0)+1964>>0]|0;if(!O)T=R;else{I=c[19488+((O>>>0<20?O:20)<<2)>>2]|0;G=sh(P|0,0,8)|0;P=ph(O>>>1|0,0,G|0,D|0)|0;G=yh(P|0,D|0,O|0,0)|0;T=((S(256-I|0,R&255)|0)+128+(S(((255-G|0)>>>23|G)&255|(G|0)==0,I)|0)|0)>>>8&255}a[d+1964>>0]=T;T=c[b+16824>>2]|0;I=c[b+16828>>2]|0;G=c[b+16832>>2]|0;R=c[b+16836>>2]|0;O=R+G|0;P=a[e+(f*2044|0)+1958>>0]|0;i=G+I+R+T|0;if(!i)U=P;else{R=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;J=sh(T|0,0,8)|0;T=ph(i>>>1|0,0,J|0,D|0)|0;J=yh(T|0,D|0,i|0,0)|0;U=((S(256-R|0,P&255)|0)+128+(S(((255-J|0)>>>23|J)&255|(J|0)==0,R)|0)|0)>>>8&255}a[d+1958>>0]=U;U=a[e+(f*2044|0)+1959>>0]|0;R=O+I|0;if(!R)V=U;else{J=c[19488+((R>>>0<20?R:20)<<2)>>2]|0;P=sh(I|0,0,8)|0;I=ph(R>>>1|0,0,P|0,D|0)|0;P=yh(I|0,D|0,R|0,0)|0;V=((S(256-J|0,U&255)|0)+128+(S(((255-P|0)>>>23|P)&255|(P|0)==0,J)|0)|0)>>>8&255}a[d+1959>>0]=V;V=a[e+(f*2044|0)+1960>>0]|0;if(!O)W=V;else{J=c[19488+((O>>>0<20?O:20)<<2)>>2]|0;P=sh(G|0,0,8)|0;G=ph(O>>>1|0,0,P|0,D|0)|0;P=yh(G|0,D|0,O|0,0)|0;W=((S(256-J|0,V&255)|0)+128+(S(((255-P|0)>>>23|P)&255|(P|0)==0,J)|0)|0)>>>8&255}a[d+1960>>0]=W}W=a[e+(f*2044|0)+1967>>0]|0;J=c[b+16896>>2]|0;P=(c[b+16900>>2]|0)+J|0;if(!P)X=W;else{V=c[19488+((P>>>0<20?P:20)<<2)>>2]|0;O=sh(J|0,0,8)|0;J=ph(P>>>1|0,0,O|0,D|0)|0;O=yh(J|0,D|0,P|0,0)|0;X=((S(256-V|0,W&255)|0)+128+(S(((255-O|0)>>>23|O)&255|(O|0)==0,V)|0)|0)>>>8&255}a[d+1967>>0]=X;X=a[e+(f*2044|0)+1968>>0]|0;V=c[b+16904>>2]|0;O=(c[b+16908>>2]|0)+V|0;if(!O)Y=X;else{W=c[19488+((O>>>0<20?O:20)<<2)>>2]|0;P=sh(V|0,0,8)|0;V=ph(O>>>1|0,0,P|0,D|0)|0;P=yh(V|0,D|0,O|0,0)|0;Y=((S(256-W|0,X&255)|0)+128+(S(((255-P|0)>>>23|P)&255|(P|0)==0,W)|0)|0)>>>8&255}a[d+1968>>0]=Y;Y=a[e+(f*2044|0)+1969>>0]|0;f=c[b+16912>>2]|0;e=(c[b+16916>>2]|0)+f|0;if(!e){Z=Y;_=d+1969|0;a[_>>0]=Z;return}b=c[19488+((e>>>0<20?e:20)<<2)>>2]|0;W=sh(f|0,0,8)|0;f=ph(e>>>1|0,0,W|0,D|0)|0;W=yh(f|0,D|0,e|0,0)|0;Z=((S(256-b|0,Y&255)|0)+128+(S(((255-W|0)>>>23|W)&255|(W|0)==0,b)|0)|0)>>>8&255;_=d+1969|0;a[_>>0]=Z;return}function Gd(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;he(d+3980|0);a[d+3983>>0]=0;e=c[d+768>>2]|0;if(e|0?(c[d+4096>>2]|0)==0:0)qh(e|0,0,S(c[d+608>>2]|0,c[d+600>>2]|0)|0)|0;e=c[d+772>>2]|0;if(e|0)qh(e|0,0,S(c[d+608>>2]|0,c[d+600>>2]|0)|0)|0;e=d+3962|0;b[e>>1]=0;b[e+2>>1]=0>>>16;b[d+3968>>1]=0;a[d+3956>>0]=1;a[d+3957>>0]=1;a[d+3958>>0]=1;a[d+3959>>0]=0;a[d+3960>>0]=-1;a[d+3961>>0]=-1;a[d+3966>>0]=0;a[d+3967>>0]=0;c[d+3952>>2]=-1;Dd(d);e=d+4108|0;f=c[e>>2]|0;g=f+36|0;h=27698;i=g+90|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));g=f;h=27788;i=g+36|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));j=f+1902|0;k=j;a[k>>0]=-14376213;a[k+1>>0]=-14376213>>8;a[k+2>>0]=-14376213>>16;a[k+3>>0]=-14376213>>24;k=j+4|0;a[k>>0]=-1869282526;a[k+1>>0]=-1869282526>>8;a[k+2>>0]=-1869282526>>16;a[k+3>>0]=-1869282526>>24;g=f+126|0;h=27824;i=g+48|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));k=f+1931|0;a[k>>0]=-507812343;a[k+1>>0]=-507812343>>8;a[k+2>>0]=-507812343>>16;a[k+3>>0]=-507812343>>24;k=f+1935|0;a[k>>0]=a[27872]|0;a[k+1>>0]=a[27873]|0;a[k+2>>0]=a[27874]|0;a[k+3>>0]=a[27875]|0;a[k+4>>0]=a[27876]|0;k=f+1950|0;a[k>>0]=a[27877]|0;a[k+1>>0]=a[27878]|0;a[k+2>>0]=a[27879]|0;a[k+3>>0]=a[27880]|0;a[k+4>>0]=a[27881]|0;g=f+1940|0;h=27882;i=g+10|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));g=f+1955|0;h=27892;i=g+12|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));k=f+1967|0;a[k>>0]=a[27904]|0;a[k+1>>0]=a[27905]|0;a[k+2>>0]=a[27906]|0;g=f+1910|0;h=27907;i=g+21|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));Jd(d);h=c[e>>2]|0;c[h+2040>>2]=1;g=d+564|0;a:do if((c[g>>2]|0)!=0?(c[d+17360>>2]|0)==0:0){switch(c[d+588>>2]|0){case 3:{l=9;break a;break}case 2:break;default:break a}vh((c[d+4112>>2]|0)+((c[d+4116>>2]|0)*2044|0)|0,h|0,2044)|0}else l=9;while(0);if((l|0)==9){l=d+4112|0;vh(c[l>>2]|0,h|0,2044)|0;vh((c[l>>2]|0)+2044|0,c[e>>2]|0,2044)|0;vh((c[l>>2]|0)+4088|0,c[e>>2]|0,2044)|0;vh((c[l>>2]|0)+6132|0,c[e>>2]|0,2044)|0}if(c[g>>2]|0?(a[d+580>>0]|0)==0:0){m=d+3924|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;n=d+4116|0;c[n>>2]=0;return}g=c[d+712>>2]|0;if(!g){m=d+3924|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;n=d+4116|0;c[n>>2]=0;return}if(c[d+4096>>2]|0){m=d+3924|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;n=d+4116|0;c[n>>2]=0;return}qh(g|0,0,S((c[d+612>>2]|0)*68|0,(c[d+600>>2]|0)+1|0)|0)|0;m=d+3924|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;n=d+4116|0;c[n>>2]=0;return}function Hd(a,e){a=a|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if(!e)return;f=b[a>>1]|0;g=b[a+2>>1]|0;a=g<<16>>16==0;h=f<<16>>16==0?(a^1)&1:a?2:3;a=e+(h<<2)|0;c[a>>2]=(c[a>>2]|0)+1;if((h|1|0)==3){a=f<<16>>16;i=e+16+(a>>>31<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=(f<<16>>16<0?0-a|0:a)+-1|0;if((i|0)>8191)j=10;else j=d[27962+(i>>3)>>0]|0;a=(j|0)==0;f=i-(a?0:8<<j)|0;i=e+24+(j<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=f>>3;k=f>>>1&3;l=f&1;if(a){a=e+68+(i<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=e+156+(i<<4)+(k<<2)|0;c[a>>2]=(c[a>>2]|0)+1;m=e+204+(l<<2)|0}else{a=0;do{f=e+76+(a<<3)+((i>>>a&1)<<2)|0;c[f>>2]=(c[f>>2]|0)+1;a=a+1|0}while((a|0)<(j|0));j=e+188+(k<<2)|0;c[j>>2]=(c[j>>2]|0)+1;m=e+212+(l<<2)|0}c[m>>2]=(c[m>>2]|0)+1}if((h|2|0)!=3)return;h=g<<16>>16;m=e+220+(h>>>31<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=(g<<16>>16<0?0-h|0:h)+-1|0;if((m|0)>8191)n=10;else n=d[27962+(m>>3)>>0]|0;h=(n|0)==0;g=m-(h?0:8<<n)|0;m=e+228+(n<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=g>>3;l=g>>>1&3;j=g&1;if(h){h=e+272+(m<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=e+360+(m<<4)+(l<<2)|0;c[h>>2]=(c[h>>2]|0)+1;o=e+408+(j<<2)|0}else{h=0;do{g=e+280+(h<<3)+((m>>>h&1)<<2)|0;c[g>>2]=(c[g>>2]|0)+1;h=h+1|0}while((h|0)<(n|0));n=e+392+(l<<2)|0;c[n>>2]=(c[n>>2]|0)+1;o=e+416+(j<<2)|0}c[o>>2]=(c[o>>2]|0)+1;return}function Id(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=c[b+4108>>2]|0;f=c[b+4112>>2]|0;g=c[b+4116>>2]|0;ab(27928,f+(g*2044|0)+1970|0,b+16920|0,e+1970|0);h=(d|0)==0;d=0;do{i=a[f+(g*2044|0)+1973+(d*33|0)>>0]|0;j=c[b+16936+(d*204|0)>>2]|0;k=(c[b+16936+(d*204|0)+4>>2]|0)+j|0;if(!k)l=i;else{m=c[19488+((k>>>0<20?k:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(k>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,k|0,0)|0;l=((S(256-m|0,i&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,m)|0)|0)>>>8&255}a[e+1973+(d*33|0)>>0]=l;ab(27934,f+(g*2044|0)+1973+(d*33|0)+1|0,b+16936+(d*204|0)+8|0,e+1973+(d*33|0)+1|0);ab(27954,f+(g*2044|0)+1973+(d*33|0)+11|0,b+16936+(d*204|0)+52|0,e+1973+(d*33|0)+11|0);m=a[f+(g*2044|0)+1973+(d*33|0)+12>>0]|0;n=c[b+16936+(d*204|0)+60>>2]|0;i=(c[b+16936+(d*204|0)+64>>2]|0)+n|0;if(!i)o=m;else{k=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(i>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,i|0,0)|0;o=((S(256-k|0,m&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,k)|0)|0)>>>8&255}a[e+1973+(d*33|0)+12>>0]=o;k=a[f+(g*2044|0)+1973+(d*33|0)+13>>0]|0;j=c[b+16936+(d*204|0)+68>>2]|0;m=(c[b+16936+(d*204|0)+72>>2]|0)+j|0;if(!m)p=k;else{i=c[19488+((m>>>0<20?m:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(m>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,m|0,0)|0;p=((S(256-i|0,k&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,i)|0)|0)>>>8&255}a[e+1973+(d*33|0)+13>>0]=p;i=a[f+(g*2044|0)+1973+(d*33|0)+14>>0]|0;n=c[b+16936+(d*204|0)+76>>2]|0;k=(c[b+16936+(d*204|0)+80>>2]|0)+n|0;if(!k)q=i;else{m=c[19488+((k>>>0<20?k:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(k>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,k|0,0)|0;q=((S(256-m|0,i&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,m)|0)|0)>>>8&255}a[e+1973+(d*33|0)+14>>0]=q;m=a[f+(g*2044|0)+1973+(d*33|0)+15>>0]|0;j=c[b+16936+(d*204|0)+84>>2]|0;i=(c[b+16936+(d*204|0)+88>>2]|0)+j|0;if(!i)r=m;else{k=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(i>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,i|0,0)|0;r=((S(256-k|0,m&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,k)|0)|0)>>>8&255}a[e+1973+(d*33|0)+15>>0]=r;k=a[f+(g*2044|0)+1973+(d*33|0)+16>>0]|0;n=c[b+16936+(d*204|0)+92>>2]|0;m=(c[b+16936+(d*204|0)+96>>2]|0)+n|0;if(!m)s=k;else{i=c[19488+((m>>>0<20?m:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(m>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,m|0,0)|0;s=((S(256-i|0,k&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,i)|0)|0)>>>8&255}a[e+1973+(d*33|0)+16>>0]=s;i=a[f+(g*2044|0)+1973+(d*33|0)+17>>0]|0;j=c[b+16936+(d*204|0)+100>>2]|0;k=(c[b+16936+(d*204|0)+104>>2]|0)+j|0;if(!k)t=i;else{m=c[19488+((k>>>0<20?k:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(k>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,k|0,0)|0;t=((S(256-m|0,i&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,m)|0)|0)>>>8&255}a[e+1973+(d*33|0)+17>>0]=t;m=a[f+(g*2044|0)+1973+(d*33|0)+18>>0]|0;n=c[b+16936+(d*204|0)+108>>2]|0;i=(c[b+16936+(d*204|0)+112>>2]|0)+n|0;if(!i)u=m;else{k=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(i>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,i|0,0)|0;u=((S(256-k|0,m&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,k)|0)|0)>>>8&255}a[e+1973+(d*33|0)+18>>0]=u;k=a[f+(g*2044|0)+1973+(d*33|0)+19>>0]|0;j=c[b+16936+(d*204|0)+116>>2]|0;m=(c[b+16936+(d*204|0)+120>>2]|0)+j|0;if(!m)v=k;else{i=c[19488+((m>>>0<20?m:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(m>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,m|0,0)|0;v=((S(256-i|0,k&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,i)|0)|0)>>>8&255}a[e+1973+(d*33|0)+19>>0]=v;i=a[f+(g*2044|0)+1973+(d*33|0)+20>>0]|0;n=c[b+16936+(d*204|0)+124>>2]|0;k=(c[b+16936+(d*204|0)+128>>2]|0)+n|0;if(!k)w=i;else{m=c[19488+((k>>>0<20?k:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(k>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,k|0,0)|0;w=((S(256-m|0,i&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,m)|0)|0)>>>8&255}a[e+1973+(d*33|0)+20>>0]=w;m=a[f+(g*2044|0)+1973+(d*33|0)+21>>0]|0;j=c[b+16936+(d*204|0)+132>>2]|0;i=(c[b+16936+(d*204|0)+136>>2]|0)+j|0;if(!i)x=m;else{k=c[19488+((i>>>0<20?i:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(i>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,i|0,0)|0;x=((S(256-k|0,m&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,k)|0)|0)>>>8&255}a[e+1973+(d*33|0)+21>>0]=x;ab(27956,f+(g*2044|0)+1973+(d*33|0)+22|0,b+16936+(d*204|0)+140|0,e+1973+(d*33|0)+22|0);ab(27956,f+(g*2044|0)+1973+(d*33|0)+25|0,b+16936+(d*204|0)+156|0,e+1973+(d*33|0)+25|0);ab(27956,f+(g*2044|0)+1973+(d*33|0)+28|0,b+16936+(d*204|0)+172|0,e+1973+(d*33|0)+28|0);if(!h){k=a[f+(g*2044|0)+1973+(d*33|0)+31>>0]|0;n=c[b+16936+(d*204|0)+188>>2]|0;m=(c[b+16936+(d*204|0)+192>>2]|0)+n|0;if(!m)y=k;else{i=c[19488+((m>>>0<20?m:20)<<2)>>2]|0;j=sh(n|0,0,8)|0;n=ph(m>>>1|0,0,j|0,D|0)|0;j=yh(n|0,D|0,m|0,0)|0;y=((S(256-i|0,k&255)|0)+128+(S(((255-j|0)>>>23|j)&255|(j|0)==0,i)|0)|0)>>>8&255}a[e+1973+(d*33|0)+31>>0]=y;i=a[f+(g*2044|0)+1973+(d*33|0)+32>>0]|0;j=c[b+16936+(d*204|0)+196>>2]|0;k=(c[b+16936+(d*204|0)+200>>2]|0)+j|0;if(!k)z=i;else{m=c[19488+((k>>>0<20?k:20)<<2)>>2]|0;n=sh(j|0,0,8)|0;j=ph(k>>>1|0,0,n|0,D|0)|0;n=yh(j|0,D|0,k|0,0)|0;z=((S(256-m|0,i&255)|0)+128+(S(((255-n|0)>>>23|n)&255|(n|0)==0,m)|0)|0)>>>8&255}a[e+1973+(d*33|0)+32>>0]=z}d=d+1|0}while((d|0)!=2);return}function Jd(b){b=b|0;var d=0,e=0;d=(c[b+4108>>2]|0)+1970|0;b=28987;e=d+69|0;do{a[d>>0]=a[b>>0]|0;d=d+1|0;b=b+1|0}while((d|0)<(e|0));return}function Kd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+4|0;d=c[b>>2]|0;if((c[a>>2]|0)>0){e=d;f=0;while(1){Wa(c[e+(f*12|0)>>2]|0);g=c[b>>2]|0;c[g+(f*12|0)>>2]=0;f=f+1|0;if((f|0)>=(c[a>>2]|0)){h=g;break}else e=g}}else h=d;Wa(h);c[b>>2]=0;c[a>>2]=16;a=Va(16,12)|0;c[b>>2]=a;return (a|0)==0|0}function Ld(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+4|0;d=c[b>>2]|0;if((c[a>>2]|0)>0){e=d;f=0}else{g=d;Wa(g);c[b>>2]=0;return}while(1){Wa(c[e+(f*12|0)>>2]|0);d=c[b>>2]|0;c[d+(f*12|0)>>2]=0;f=f+1|0;if((f|0)>=(c[a>>2]|0)){g=d;break}else e=d}Wa(g);c[b>>2]=0;return}function Md(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!a){e=-1;return e|0}f=c[a>>2]|0;a:do if((f|0)>0){g=c[a+4>>2]|0;h=0;while(1){if(!(c[g+(h*12|0)+8>>2]|0)){i=h;break a}j=h+1|0;if((j|0)<(f|0))h=j;else{i=j;break}}}else i=0;while(0);if((i|0)==(f|0)){e=-1;return e|0}f=a+4|0;a=c[f>>2]|0;h=c[a+(i*12|0)+4>>2]|0;do if(h>>>0<b>>>0){Wa(c[a+(i*12|0)>>2]|0);g=Va(1,b)|0;j=c[f>>2]|0;c[j+(i*12|0)>>2]=g;if(!g){e=-1;return e|0}else{c[j+(i*12|0)+4>>2]=b;k=j;l=b;break}}else{k=a;l=h}while(0);c[d>>2]=c[k+(i*12|0)>>2];c[d+4>>2]=l;c[k+(i*12|0)+8>>2]=1;c[d+8>>2]=k+(i*12|0);e=0;return e|0}function Nd(a,b){a=a|0;b=b|0;a=c[b+8>>2]|0;if(!a)return 0;c[a+8>>2]=0;return 0}function Od(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;i=l;l=l+48|0;j=i+16|0;k=i+8|0;m=i;n=c[19572+(h<<3)+4>>2]|0;za[n&7](e,j);za[n&7](e+8|0,j+8|0);za[n&7](e+16|0,j+16|0);za[n&7](e+24|0,j+24|0);e=c[19572+(h<<3)>>2]|0;h=k+2|0;n=k+4|0;o=k+6|0;p=m+2|0;q=g<<1;r=m+4|0;s=g*3|0;t=m+6|0;u=0;do{b[k>>1]=b[j+(u<<1)>>1]|0;b[h>>1]=b[j+(u+4<<1)>>1]|0;b[n>>1]=b[j+(u+8<<1)>>1]|0;b[o>>1]=b[j+(u+12<<1)>>1]|0;za[e&7](k,m);v=f+u|0;w=((b[m>>1]|0)+8>>4)+(d[v>>0]|0)|0;a[v>>0]=(w|0)>255?-1:((w|0)>0?w:0)&255;w=f+(u+g)|0;v=((b[p>>1]|0)+8>>4)+(d[w>>0]|0)|0;a[w>>0]=(v|0)>255?-1:((v|0)>0?v:0)&255;v=f+(q+u)|0;w=((b[r>>1]|0)+8>>4)+(d[v>>0]|0)|0;a[v>>0]=(w|0)>255?-1:((w|0)>0?w:0)&255;w=f+(s+u)|0;v=((b[t>>1]|0)+8>>4)+(d[w>>0]|0)|0;a[w>>0]=(v|0)>255?-1:((v|0)>0?v:0)&255;u=u+1|0}while((u|0)!=4);l=i;return}function Pd(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;i=l;l=l+160|0;j=i+32|0;k=i+16|0;m=i;n=c[19604+(h<<3)>>2]|0;o=c[19604+(h<<3)+4>>2]|0;za[o&7](e,j);za[o&7](e+16|0,j+16|0);za[o&7](e+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255?-1:((I|0)>0?I:0)&255;I=f+(E+G)|0;H=((b[F>>1]|0)+16>>5)+(d[I>>0]|0)|0;a[I>>0]=(H|0)>255?-1:((H|0)>0?H:0)&255;G=G+1|0}while((G|0)!=8);l=i;return}function Qd(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;i=l;l=l+576|0;j=i+64|0;k=i+32|0;m=i;n=c[19636+(h<<3)>>2]|0;o=c[19636+(h<<3)+4>>2]|0;za[o&7](e,j);za[o&7](e+32|0,j+32|0);za[o&7](e+64|0,j+64|0);za[o&7](e+96|0,j+96|0);za[o&7](e+128|0,j+128|0);za[o&7](e+160|0,j+160|0);za[o&7](e+192|0,j+192|0);za[o&7](e+224|0,j+224|0);za[o&7](e+256|0,j+256|0);za[o&7](e+288|0,j+288|0);za[o&7](e+320|0,j+320|0);za[o&7](e+352|0,j+352|0);za[o&7](e+384|0,j+384|0);za[o&7](e+416|0,j+416|0);za[o&7](e+448|0,j+448|0);za[o&7](e+480|0,j+480|0);e=k+2|0;o=k+4|0;h=k+6|0;p=k+8|0;q=k+10|0;r=k+12|0;s=k+14|0;t=k+16|0;u=k+18|0;v=k+20|0;w=k+22|0;x=k+24|0;y=k+26|0;z=k+28|0;A=k+30|0;B=0;do{b[k>>1]=b[j+(B<<1)>>1]|0;b[e>>1]=b[j+(B+16<<1)>>1]|0;b[o>>1]=b[j+(B+32<<1)>>1]|0;b[h>>1]=b[j+(B+48<<1)>>1]|0;b[p>>1]=b[j+(B+64<<1)>>1]|0;b[q>>1]=b[j+(B+80<<1)>>1]|0;b[r>>1]=b[j+(B+96<<1)>>1]|0;b[s>>1]=b[j+(B+112<<1)>>1]|0;b[t>>1]=b[j+(B+128<<1)>>1]|0;b[u>>1]=b[j+(B+144<<1)>>1]|0;b[v>>1]=b[j+(B+160<<1)>>1]|0;b[w>>1]=b[j+(B+176<<1)>>1]|0;b[x>>1]=b[j+(B+192<<1)>>1]|0;b[y>>1]=b[j+(B+208<<1)>>1]|0;b[z>>1]=b[j+(B+224<<1)>>1]|0;b[A>>1]=b[j+(B+240<<1)>>1]|0;za[n&7](k,m);C=0;do{D=f+((S(C,g)|0)+B)|0;E=((b[m+(C<<1)>>1]|0)+32>>6)+(d[D>>0]|0)|0;a[D>>0]=(E|0)>255?-1:((E|0)>0?E:0)&255;C=C+1|0}while((C|0)!=16);B=B+1|0}while((B|0)!=16);l=i;return}function Rd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)>1){Uc(a,b,c);return}else{Vc(a,b,c);return}}function Sd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)>1){Rc(a,b,c);return}else{Sc(a,b,c);return}}function Td(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)==1){Yc(a,b,c);return}if((d|0)<13){$c(a,b,c);return}else{Xc(a,b,c);return}}function Ud(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)==1){ed(a,b,c);return}if((d|0)<11){dd(a,b,c);return}else{bd(a,b,c);return}}function Vd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((d|0)==1){jd(a,b,c);return}if((d|0)<35){id(a,b,c);return}if((d|0)<136){hd(a,b,c);return}else{gd(a,b,c);return}}function Wd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(a|0){Od(b,c,d,a);return}if((e|0)>1){Uc(b,c,d);return}else{Vc(b,c,d);return}}function Xd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(a|0){Pd(b,c,d,a);return}if((e|0)==1){Yc(b,c,d);return}if((e|0)<13){$c(b,c,d);return}else{Xc(b,c,d);return}}function Yd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(a|0){Qd(b,c,d,a);return}if((e|0)==1){ed(b,c,d);return}if((e|0)<11){dd(b,c,d);return}else{bd(b,c,d);return}}function Zd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[d+300>>2]|0;f=c[d+296>>2]|0;d=(e|0)!=0;g=(f|0)!=0;if(!(d&g)){if(!(d|g)){h=1;return h|0}g=d?e:f;if((a[g+9>>0]|0)>0){h=3;return h|0}h=(a[g+8>>0]|0)==(a[b+4100>>0]|0)&1;return h|0}g=(a[f+9>>0]|0)>0;if((a[e+9>>0]|0)>0){if(g){h=4;return h|0}d=a[f+8>>0]|0;if(d<<24>>24==(a[b+4100>>0]|0)){h=3;return h|0}h=d<<24>>24>0?2:3;return h|0}d=a[e+8>>0]|0;e=a[b+4100>>0]|0;b=d<<24>>24==e<<24>>24;if(!g){h=(b^(a[f+8>>0]|0)==e<<24>>24)&1;return h|0}if(b){h=3;return h|0}h=d<<24>>24>0?2:3;return h|0}function _d(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=c[d+300>>2]|0;f=c[d+296>>2]|0;d=(e|0)!=0;g=(f|0)!=0;h=a[b+4100>>0]|0;i=(c[b+3924+(h<<24>>24<<2)>>2]|0)==0;j=i&1;if(!(d&g)){if(!(d|g)){k=2;return k|0}g=d?e:f;d=a[g+8>>0]|0;if(d<<24>>24<=0){k=2;return k|0}l=a[b+4102>>0]|0;if((a[g+9>>0]|0)>0){k=((a[g+8+j>>0]|0)!=l<<24>>24&1)<<2;return k|0}else{k=d<<24>>24!=l<<24>>24?3:0;return k|0}}l=(a[e+8>>0]|0)>0;d=(a[f+8>>0]|0)>0;if(!(l|d)){k=2;return k|0}if(!(l&d)){d=l?e:f;k=((a[((a[d+9>>0]|0)>0&i&1)+(d+8)>>0]|0)!=(a[b+4102>>0]|0)&1)<<1|1;return k|0}d=(a[f+9>>0]|0)>0;l=(a[e+9>>0]|0)>0;j=a[(i&l&1)+(e+8)>>0]|0;e=a[(i&d&1)+(f+8)>>0]|0;f=j<<24>>24==e<<24>>24;if(f?(a[b+4102>>0]|0)==j<<24>>24:0){k=0;return k|0}if(d|l){if(d&l){k=f?4:2;return k|0}i=d?e:j;d=l?e:j;l=a[b+4102>>0]|0;if(i<<24>>24!=l<<24>>24?1:d<<24>>24==l<<24>>24)return ((d<<24>>24!=l<<24>>24?1:i<<24>>24==l<<24>>24)?4:2)|0;else{k=1;return k|0}}if(j<<24>>24==h<<24>>24?e<<24>>24==(a[b+4101>>0]|0):0){k=4;return k|0}if(e<<24>>24==h<<24>>24?j<<24>>24==(a[b+4101>>0]|0):0){k=4;return k|0}k=f?3:1;return k|0}function $d(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b+300>>2]|0;e=c[b+296>>2]|0;b=(d|0)!=0;f=(e|0)!=0;if(!(b&f)){if(!(b|f)){g=2;return g|0}f=b?d:e;b=a[f+8>>0]|0;if(b<<24>>24<=0){g=2;return g|0}h=a[f+9>>0]|0;f=b<<24>>24==1;if(h<<24>>24<=0){g=(f&1)<<2;return g|0}if(f){g=2;return g|0}g=h<<24>>24==1?2:1;return g|0}h=a[d+8>>0]|0;f=h<<24>>24>0;b=a[e+8>>0]|0;i=b<<24>>24>0;if(!(f|i)){g=2;return g|0}if(!(f&i)){i=f?d:e;f=a[i+9>>0]|0;j=(a[i+8>>0]|0)==1;if(f<<24>>24<=0){g=(j&1)<<2;return g|0}if(j){g=2;return g|0}g=f<<24>>24==1?2:1;return g|0}f=a[d+9>>0]|0;d=f<<24>>24>0;j=a[e+9>>0]|0;e=j<<24>>24>0;if(d&e){g=h<<24>>24==1|f<<24>>24==1|b<<24>>24==1|j<<24>>24==1?2:1;return g|0}if(!(d|e)){g=(b<<24>>24==1&1)+(h<<24>>24==1&1)<<1;return g|0}e=(d?h:b)<<24>>24==1?1:(d?f:j)<<24>>24==1;if((d?b:h)<<24>>24==1){g=e?4:3;return g|0}else{g=e&1;return g|0}return 0}function ae(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[b+300>>2]|0;e=c[b+296>>2]|0;b=(d|0)!=0;f=(e|0)!=0;if(!(b&f)){if(!(b|f)){g=2;return g|0}f=b?d:e;b=a[f+8>>0]|0;if(b<<24>>24<=0){g=2;return g|0}h=a[f+9>>0]|0;f=h<<24>>24>0;do if(b<<24>>24==1){if(!f){g=2;return g|0}}else{i=b<<24>>24==2;if(f){if(i)g=3;else break;return g|0}else{g=(i&1)<<2;return g|0}}while(0);g=h<<24>>24==2?3:0;return g|0}h=a[d+8>>0]|0;f=h<<24>>24>0;b=a[e+8>>0]|0;i=b<<24>>24>0;if(!(f|i)){g=2;return g|0}if(!(f&i)){i=f?d:e;f=a[i+9>>0]|0;j=a[i+8>>0]|0;if(f<<24>>24<=0)return (j<<24>>24==1?3:(j<<24>>24==2&1)<<2)|0;g=((j<<24>>24==2|f<<24>>24==2)&1)<<1|1;return g|0}f=a[d+9>>0]|0;d=f<<24>>24>0;j=a[e+9>>0]|0;e=j<<24>>24>0;if(d&e){if(!(h<<24>>24==b<<24>>24?f<<24>>24==j<<24>>24:0)){g=2;return g|0}g=h<<24>>24==2|f<<24>>24==2?3:0;return g|0}if(!(d|e)){e=h<<24>>24==1;i=b<<24>>24==1;if(e&i){g=3;return g|0}if(e|i){g=((e?b:h)<<24>>24==2&1)<<2;return g|0}else{g=(b<<24>>24==2&1)+(h<<24>>24==2&1)<<1;return g|0}}else{e=d?f:j;j=(d?h:b)<<24>>24==2;switch((d?b:h)<<24>>24){case 2:{g=j|e<<24>>24==2?4:3;return g|0}case 3:{g=(j|e<<24>>24==2)&1;return g|0}default:{g=((j|e<<24>>24==2)&1)<<1|1;return g|0}}}return 0}function be(){if(c[8578]|0)return;c[8578]=1;return}function ce(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;h=e<<4;e=c[g>>2]|0;i=((e|0)<0)<<31>>31;j=Ah(e|0,i|0,h|0,((h|0)<0)<<31>>31|0)|0;h=rh(j|0,D|0,14)|0;j=f<<4;f=c[g+4>>2]|0;g=((f|0)<0)<<31>>31;k=Ah(f|0,g|0,j|0,((j|0)<0)<<31>>31|0)|0;j=rh(k|0,D|0,14)|0;k=b[d>>1]|0;l=Ah(k|0,((k|0)<0)<<31>>31|0,f|0,g|0)|0;g=rh(l|0,D|0,14)|0;l=b[d+2>>1]|0;d=Ah(l|0,((l|0)<0)<<31>>31|0,e|0,i|0)|0;i=rh(d|0,D|0,14)|0;c[a>>2]=g+(j&15);c[a+4>>2]=i+(h&15);return}function de(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((d<<4|0)<(f|0)|((b<<4|0)<(e|0)|((e<<1|0)<(b|0)|(f<<1|0)<(d|0)))){c[a>>2]=-1;c[a+4>>2]=-1;return}g=(b<<14|0)/(e|0)|0;c[a>>2]=g;e=(d<<14|0)/(f|0)|0;c[a+4>>2]=e;f=g>>10;c[a+8>>2]=f;d=e>>10;c[a+12>>2]=d;if((g|0)==-1)h=0;else h=(e|0)!=-1&((g|0)!=16384|(e|0)!=16384);c[a+16>>2]=h?18:19;c[a+20>>2]=h?20:19;h=(f|0)==16;f=(d|0)==16;if(h){i=f?5:2;j=f?6:4;k=f?9:10;l=f?3:4;m=f?7:8;n=f?1:2}else{d=f?11:8;e=f?12:10;i=8;j=10;k=e;l=e;m=d;n=d}c[a+24>>2]=n;c[a+28>>2]=l;c[a+32>>2]=i;c[a+36>>2]=j;c[a+40>>2]=m;c[a+44>>2]=k;k=a+48|0;if(h&f){c[k>>2]=13;c[a+52>>2]=14;return}else{c[k>>2]=8;c[a+52>>2]=10;return}}function ee(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;b=Ah(d|0,((d|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=rh(b|0,D|0,14)|0;return a|0}function fe(a,b){a=a|0;b=b|0;return a|0}function ge(a,b){a=a|0;b=b|0;var d=0;d=c[b+4>>2]|0;b=Ah(d|0,((d|0)<0)<<31>>31|0,a|0,((a|0)<0)<<31>>31|0)|0;a=rh(b|0,D|0,14)|0;return a|0}function he(a){a=a|0;var b=0;b=a+16|0;a=b+100|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function ie(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=a+80+(b<<2)|0;c[e>>2]=c[e>>2]|1<<d;return}function je(a){a=a|0;return c[19684+(a<<2)>>2]|0}function ke(a){a=a|0;return c[19700+(a<<2)>>2]|0}function le(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;b[a+16+(c<<3)+(d<<1)>>1]=e;return}function me(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b+600>>2]|0;f=c[b+17372>>2]|0;b=e+7>>3;g=(S(b,d)|0)>>f<<3;c[a>>2]=(g|0)<(e|0)?g:e;g=(S(b,d+1|0)|0)>>f<<3;c[a+4>>2]=(g|0)<(e|0)?g:e;return}function ne(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b+608>>2]|0;f=c[b+17368>>2]|0;b=e+7>>3;g=(S(b,d)|0)>>f<<3;c[a+8>>2]=(g|0)<(e|0)?g:e;g=(S(b,d+1|0)|0)>>f<<3;c[a+12>>2]=(g|0)<(e|0)?g:e;return}function oe(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=c[b+600>>2]|0;g=c[b+17372>>2]|0;h=f+7>>3;i=(S(h,d)|0)>>g<<3;c[a>>2]=(i|0)<(f|0)?i:f;i=(S(h,d+1|0)|0)>>g<<3;c[a+4>>2]=(i|0)<(f|0)?i:f;f=c[b+608>>2]|0;i=c[b+17368>>2]|0;b=f+7>>3;g=(S(b,e)|0)>>i<<3;c[a+8>>2]=(g|0)<(f|0)?g:f;g=(S(b,e+1|0)|0)>>i<<3;c[a+12>>2]=(g|0)<(f|0)?g:f;return}function pe(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=a+7>>3;a=0;while(1)if((64<<a|0)<(e|0))a=a+1|0;else break;c[b>>2]=a;a=1;while(1)if((e>>a|0)>3)a=a+1|0;else break;c[d>>2]=a+-1;return}function qe(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+3948|0;d=c[b>>2]|0;e=(d|0)>0;f=(e&1)+((d|0)>4&1)|0;g=9-d|0;if(e){e=0;do{d=e>>f;h=(d|0)>(g|0)?g:d;d=(h|0)>1?h:1;qh(a+784+(e*48|0)+16|0,d&255|0,16)|0;qh(a+784+(e*48|0)|0,(e<<1)+4+d&255|0,16)|0;e=e+1|0}while((e|0)!=64)}else{e=0;do{g=e>>f;d=(g|0)>1?g:1;qh(a+784+(e*48|0)+16|0,d&255|0,16)|0;qh(a+784+(e*48|0)|0,(e<<1)+4+d&255|0,16)|0;e=e+1|0}while((e|0)!=64)}c[a+3952>>2]=c[b>>2];b=0;do{qh(a+784+(b*48|0)+32|0,b>>>4&255|0,16)|0;b=b+1|0}while((b|0)!=64);return}function re(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=e>>5;g=d+3952|0;h=d+3948|0;i=c[h>>2]|0;if((c[g>>2]|0)!=(i|0)){j=(i|0)>0;k=(j&1)+((i|0)>4&1)|0;l=9-i|0;if(j){j=0;do{i=j>>k;m=(i|0)>(l|0)?l:i;i=(m|0)>1?m:1;qh(d+784+(j*48|0)+16|0,i&255|0,16)|0;qh(d+784+(j*48|0)|0,(j<<1)+4+i&255|0,16)|0;j=j+1|0}while((j|0)!=64)}else{j=0;do{l=j>>k;i=(l|0)>1?l:1;qh(d+784+(j*48|0)+16|0,i&255|0,16)|0;qh(d+784+(j*48|0)|0,(j<<1)+4+i&255|0,16)|0;j=j+1|0}while((j|0)!=64)}c[g>>2]=c[h>>2]}h=d+3980|0;g=d+3956|0;j=d+3958|0;k=d+3983|0;i=d+3959|0;l=d+3966|0;m=d+3967|0;n=d+3960|0;o=d+3961|0;p=0;do{if((a[h>>0]|0)!=0?(c[d+4060+(p<<2)>>2]&2|0)!=0:0){q=((a[k>>0]|0)==1?0:e)+(b[d+3996+(p<<3)+2>>1]|0)|0;r=(q|0)<0?0:(q|0)<63?q:63}else r=e;if(!(a[g>>0]|0))qh(d+3856+(p<<3)|0,r&255|0,8)|0;else{q=(a[j>>0]<<f)+r|0;a[d+3856+(p<<3)>>0]=(q|0)<0?0:((q|0)<63?q:63)&255;q=(a[i>>0]<<f)+r|0;s=a[l>>0]<<f;t=q+s|0;a[d+3856+(p<<3)+2>>0]=(t|0)<0?0:((t|0)<63?t:63)&255;t=a[m>>0]<<f;u=q+t|0;a[d+3856+(p<<3)+3>>0]=(u|0)<0?0:((u|0)<63?u:63)&255;u=(a[n>>0]<<f)+r|0;q=u+s|0;a[d+3856+(p<<3)+4>>0]=(q|0)<0?0:((q|0)<63?q:63)&255;q=u+t|0;a[d+3856+(p<<3)+5>>0]=(q|0)<0?0:((q|0)<63?q:63)&255;q=(a[o>>0]<<f)+r|0;u=q+s|0;a[d+3856+(p<<3)+6>>0]=(u|0)<0?0:((u|0)<63?u:63)&255;u=q+t|0;a[d+3856+(p<<3)+7>>0]=(u|0)<0?0:((u|0)<63?u:63)&255}p=p+1|0}while((p|0)!=8);return}function se(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0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Ah(o|0,((o|0)<0)<<31>>31|0,16843009,16843009)|0;o=D;l=ph(a|0,m|0,1,0)|0;k=rh(l|0,D|0,1)|0;l=(4369<<k)+61167|0;k=rh(a|0,m|0,1)|0;m=ma&n;M=na&o;H=g;c[H>>2]=m;c[H+4>>2]=M;H=t;c[H>>2]=oa&n;c[H+4>>2]=pa&o;H=qa&65535&l&65535;b[z>>1]=H;b[J>>1]=ra&l;C=sa&n;B=ta&o;w=r;c[w>>2]=C;c[w+4>>2]=B;w=x;c[w>>2]=ua&n;c[w+4>>2]=va&o;w=wa&65535&l;v=w&65535;b[F>>1]=v;b[L>>1]=xa&l;N=ya&n;E=za&o;y=i;c[y>>2]=N;c[y+4>>2]=E;y=j;c[y>>2]=Aa&n;c[y+4>>2]=Ba&o;y=Ca&65535&l;A=y&65535;b[h>>1]=A;b[p>>1]=Da&65535&l;l=g+64|0;s=l;u=c[s+4>>2]&o;o=l;c[o>>2]=c[s>>2]&n;c[o+4>>2]=u;u=g+88|0;b[u>>1]=(e[u>>1]|0)&(4369<<k)+61167;switch(a|0){case 1:{a=(w|y)&65535;b[F>>1]=a;b[h>>1]=0;Ea=m;Fa=M;Ga=H;Ha=C;Ia=B;Ja=a;Ka=N;La=E;Ma=0;break b;break}case 5:{a=(w|y&52428)&65535;b[F>>1]=a;w=((y|13107)^52428)&y&65535;b[h>>1]=w;Ea=m;Fa=M;Ga=H;Ha=C;Ia=B;Ja=a;Ka=N;La=E;Ma=w;break b;break}default:{Ea=m;Fa=M;Ga=H;Ha=C;Ia=B;Ja=v;Ka=N;La=E;Ma=A;break b}}}else{Ea=ma;Fa=na;Ga=qa;Ha=sa;Ia=ta;Ja=wa;Ka=ya;La=za;Ma=Ca}while(0);if(f|0)return;f=g;c[f>>2]=Ea&-16843010;c[f+4>>2]=Fa&-16843010;b[z>>1]=Ga&-4370;Ga=r;c[Ga>>2]=Ha&-16843010;c[Ga+4>>2]=Ia&-16843010;b[F>>1]=Ja&-4370;Ja=i;c[Ja>>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))break;J=f<<3;K=n+(f<<2)|0;L=(f>>s&3|0)==0;M=k+(f<<2)|0;N=j+(f<<2)|0;O=(f&t|0)==0;P=c[z>>2]|0;Q=P+-1|0;R=(H|0)==(I+-1|0)&E;I=R?M:N;H=R?M:N;N=0;M=0;R=0;S=0;while(1){T=N+h|0;if((T|0)>=(P|0)){U=M;V=R;W=S;break}X=c[G+(N<<2)>>2]|0;if(!(a[X+3>>0]|0))Y=0;else Y=(a[X+8>>0]|0)>0;Z=d[X>>0]|0;if((d[29208+Z>>0]|0)>1)_=((d[29234+Z>>0]|0)+-1&N|0)==0&1;else _=1;$=Y&(_|0)==0;if((d[29221+Z>>0]|0)>1)aa=((d[29247+Z>>0]|0)+-1&f|0)==0&1;else aa=1;ba=Y&(aa|0)==0;ca=a[(c[r>>2]|0)+(29382+(Z<<4)+(d[X+2>>0]<<2)+(c[p>>2]<<1))>>0]|0;Z=(T|0)==(Q|0)&D;T=a[(c[19716+(d[X+1>>0]<<2)>>2]|0)+(b+3856+(a[X+4>>0]<<3)+(a[X+8>>0]<<1))>>0]|0;X=N>>q;a[o+(X+J)>>0]=T;a:do if(!(T<<24>>24)){da=M;ea=R;fa=S}else switch(ca<<24>>24){case 3:{do if((X&3|0)==0&($^1)){ga=1<<X;if(Z){ha=M;ia=ga|S;break}else{ha=ga|M;ia=S;break}}else{ha=M;ia=S}while(0);if(ba|L^1){da=ha;ea=R;fa=ia;break a}c[I>>2]=c[I>>2]|1<<X;da=ha;ea=R;fa=ia;break a;break}case 2:{do if((X&1|0)==0&($^1)){ga=1<<X;if(Z){ja=M;ka=ga|S;break}else{ja=ga|M;ka=S;break}}else{ja=M;ka=S}while(0);if(ba|O^1){da=ja;ea=R;fa=ka;break a}c[H>>2]=c[H>>2]|1<<X;da=ja;ea=R;fa=ka;break a;break}default:{do if(!$){ga=1<<X;if((X&3|0)==0|ca<<24>>24==1){la=R;ma=ga|S;break}else{la=ga|R;ma=S;break}}else{la=R;ma=S}while(0);if(!ba){ga=(L|ca<<24>>24==1?k:m)+(f<<2)|0;c[ga>>2]=c[ga>>2]|1<<X}if(Y|(ca<<24>>24!=0|Z)){da=M;ea=la;fa=ma;break a}c[K>>2]=c[K>>2]|1<<X;da=M;ea=la;fa=ma;break a}}while(0);N=N+u|0;if((N|0)>=8){U=da;V=ea;W=fa;break}else{M=da;R=ea;S=fa}}S=c[C>>2]|0;R=U&B;M=W&B;N=V&B;L=c[K>>2]|0;H=M|N|R|L;if(!H){na=S;oa=F}else{O=o+J|0;I=H;H=R;R=N;N=L;L=M;M=F;while(1){Q=d[O>>0]|0;P=b+784+(Q*48|0)|0;do if(I&1|0){if(H&1|0){Oc(M,S,P,b+784+(Q*48|0)+16|0,b+784+(Q*48|0)+32|0);break}if(L&1|0){Ic(M,S,P,b+784+(Q*48|0)+16|0,b+784+(Q*48|0)+32|0);break}if(R&1|0)Dc(M,S,P,b+784+(Q*48|0)+16|0,b+784+(Q*48|0)+32|0)}while(0);if(N&1|0)Dc(M+4|0,S,P,b+784+(Q*48|0)+16|0,b+784+(Q*48|0)+32|0);I=I>>>1;if(!I)break;else{O=O+1|0;H=H>>>1;R=R>>>1;N=N>>>1;L=L>>>1;M=M+8|0}}na=c[C>>2]|0;oa=c[w>>2]|0}F=oa+(na<<3)|0;c[w>>2]=F;f=f+t|0;if((f|0)>=8)break;else G=G+(v<<2)|0}c[w>>2]=x;x=b+784|0;if(A){A=e;b=0;while(1){v=b+g|0;if((v|0)>=(c[y>>2]|0)){pa=59;break}if(!v){qa=0;ra=0;sa=0}else{qa=c[j+(b<<2)>>2]|0;ra=c[m+(b<<2)>>2]|0;sa=c[k+(b<<2)>>2]|0}ue(A,c[C>>2]|0,qa,sa,ra,c[n+(b<<2)>>2]|0,x,o+(b<<3)|0);A=(c[w>>2]|0)+(c[C>>2]<<3)|0;c[w>>2]=A;b=b+t|0;if((b|0)>=8){pa=59;break}}if((pa|0)==59){l=i;return}}else{ta=e;ua=0}while(1){e=ua+g|0;b=c[y>>2]|0;if((e|0)>=(b|0)){pa=59;break}if((e|0)==(b+-1|0))va=0;else va=c[n+(ua<<2)>>2]|0;if(!e){wa=0;xa=0;ya=0}else{wa=c[j+(ua<<2)>>2]|0;xa=c[m+(ua<<2)>>2]|0;ya=c[k+(ua<<2)>>2]|0}ue(ta,c[C>>2]|0,wa,ya,xa,va,x,o+(ua<<3)|0);ta=(c[w>>2]|0)+(c[C>>2]<<3)|0;c[w>>2]=ta;ua=ua+t|0;if((ua|0)>=8){pa=59;break}}if((pa|0)==59){l=i;return}}function ue(a,b,c,e,f,g,h,i){a=a|0;b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=e|c|f|g;if(!j)return;k=b<<2;l=i;i=j;j=c;c=f;f=g;g=e;e=a;while(1){do if(i&1){a=d[l>>0]|0;m=h+(a*48|0)|0;if(j&1|0){n=h+(a*48|0)+16|0;o=h+(a*48|0)+32|0;if((j&3|0)==3){Nc(e,b,m,n,o);p=2;break}else{Kc(e,b,m,n,o);p=1;break}}if(g&1|0){if((g&3|0)!=3){o=h+(a*48|0)+16|0;n=h+(a*48|0)+32|0;Fc(e,b,m,o,n);if(!(f&1)){p=1;break}Bc(e+k|0,b,m,o,n);p=1;break}n=d[l+1>>0]|0;o=h+(a*48|0)+16|0;q=h+(a*48|0)+32|0;r=h+(n*48|0)|0;s=h+(n*48|0)+16|0;t=h+(n*48|0)+32|0;Hc(e,b,m,o,q,r,s,t);if((f&3|0)==3){Cc(e+k|0,b,m,o,q,r,s,t);p=2;break}if(f&1|0){Bc(e+k|0,b,m,o,q);p=2;break}if(!(f&2)){p=2;break}Bc(e+8+k|0,b,r,s,t);p=2;break}if(!(c&1)){Bc(e+k|0,b,m,h+(a*48|0)+16|0,h+(a*48|0)+32|0);p=1;break}if((c&3|0)!=3){t=h+(a*48|0)+16|0;s=h+(a*48|0)+32|0;Bc(e,b,m,t,s);if(!(f&1)){p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Qc(v,e,w,j+(g*48|0)+16|0,j+(g*48|0)+32|0);break}else{A=s&1^1;B=c[o+(A<<2)>>2]|0;Oc(c[n+(A<<2)>>2]|0,e,B,B+16|0,B+32|0);break}while(0);z=i&r;do if(z|0)if((z|0)==(r|0)){Jc(v,e,w,j+(g*48|0)+16|0,j+(g*48|0)+32|0,y,j+(x*48|0)+16|0,j+(x*48|0)+32|0);break}else{B=i&1^1;A=c[o+(B<<2)>>2]|0;Ic(c[n+(B<<2)>>2]|0,e,A,A+16|0,A+32|0);break}while(0);z=f&r;do if(z|0)if((z|0)==(r|0)){Ec(v,e,w,j+(g*48|0)+16|0,j+(g*48|0)+32|0,y,j+(x*48|0)+16|0,j+(x*48|0)+32|0);break}else{A=f&1^1;B=c[o+(A<<2)>>2]|0;Dc(c[n+(A<<2)>>2]|0,e,B,B+16|0,B+32|0);break}while(0);z=h&r;do if(z|0)if((z|0)==(r|0)){Ec(v+4|0,e,w,j+(g*48|0)+16|0,j+(g*48|0)+32|0,y,j+(x*48|0)+16|0,j+(x*48|0)+32|0);break}else{B=h&1^1;A=c[o+(B<<2)>>2]|0;Dc((c[n+(B<<2)>>2]|0)+4|0,e,A,A+16|0,A+32|0);break}while(0)}v=v+8|0;c[n>>2]=v;k=(k&p)>>>1;if(!k)break;else{b=b+1|0;s=s>>>1;f=f>>>1;h=h>>>1;i=i>>>1}}l=m;return}function xe(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;h=l;l=l+16|0;i=h;j=e+12|0;k=c[j>>2]|0;m=b[g+76>>1]|0;n=b[g+74>>1]|0;o=b[g+72>>1]|0;p=g+88|0;q=b[p>>1]|0;r=d+600|0;s=e+4|0;t=e+16|0;e=d+784|0;d=k;if((c[r>>2]|0)>(f|0)?(a[i>>0]=a[g+90>>0]|0,a[i+4>>0]=a[g+106>>0]|0,a[i+1>>0]=a[g+92>>0]|0,a[i+5>>0]=a[g+108>>0]|0,a[i+2>>0]=a[g+94>>0]|0,a[i+6>>0]=a[g+110>>0]|0,a[i+3>>0]=a[g+96>>0]|0,a[i+7>>0]=a[g+112>>0]|0,we(c[s>>2]|0,d,c[t>>2]|0,m&65535,n&65535,o&65535,q&65535,e,i),u=c[t>>2]|0,v=(c[j>>2]|0)+(u<<4)|0,c[j>>2]=v,(f+4|0)<(c[r>>2]|0)):0){w=i+8|0;a[w>>0]=a[g+122>>0]|0;a[i+12>>0]=a[g+138>>0]|0;a[i+9>>0]=a[g+124>>0]|0;a[i+13>>0]=a[g+140>>0]|0;a[i+10>>0]=a[g+126>>0]|0;a[i+14>>0]=a[g+142>>0]|0;a[i+11>>0]=a[g+128>>0]|0;a[i+15>>0]=a[g+144>>0]|0;we(c[s>>2]|0,v,u,(m&65535)>>>8&65535,(n&65535)>>>8&65535,(o&65535)>>>8&65535,(q&65535)>>>8&65535,e,w);c[j>>2]=(c[j>>2]|0)+(c[t>>2]<<4)}c[j>>2]=k;k=d;d=b[g+84>>1]|0;w=b[g+80>>1]|0;q=b[p>>1]|0;p=b[g+82>>1]|0;g=0;while(1){o=g+f|0;n=c[r>>2]|0;if((o|0)>=(n|0)){x=6;break}m=(o|0)==0;ue(k,c[t>>2]|0,m?0:d&15,m?0:p&15,m?0:w&15,(o|0)==(n+-1|0)?0:q&15,e,i+(g<<1)|0);k=(c[j>>2]|0)+(c[t>>2]<<3)|0;c[j>>2]=k;g=g+2|0;if((g|0)>=8){x=6;break}else{d=(d&65535)>>>4;w=(w&65535)>>>4;q=(q&65535)>>>4;p=(p&65535)>>>4}}if((x|0)==6){l=h;return}}function ye(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=(g|0)!=0;g=h?1:3;a:do if(h)i=1;else{switch(c[d+96>>2]|0){case 1:{if((c[d+92>>2]|0)==1){i=0;break a}break}case 0:{if(!(c[d+92>>2]|0)){i=1;break a}break}default:{}}i=2}while(0);if((e|0)>=(f|0))return;j=b+736|0;k=b+612|0;l=b+3972|0;m=b+3976|0;n=b+608|0;o=(i&3)==2;p=c[n>>2]|0;q=e;while(1){e=(c[j>>2]|0)+((S(c[k>>2]|0,q)|0)<<2)|0;if((p|0)>0){r=(c[l>>2]|0)+((S(c[m>>2]|0,q>>3)|0)*160|0)|0;s=0;while(1){Me(d,a,q,s);se(b,q,s,r);ve(b,d,q,r);if(!h){t=e+(s<<2)|0;switch(i&3){case 0:{u=1;do{xe(b,d+(u*88|0)|0,q,r);u=u+1|0}while((u|0)<(g|0));break}case 1:{u=1;do{ve(b,d+(u*88|0)|0,q,r);u=u+1|0}while((u|0)<(g|0));break}default:{u=1;do{if(o)te(b,d+(u*88|0)|0,t,q,s);u=u+1|0}while((u|0)<(g|0))}}}s=s+8|0;u=c[n>>2]|0;if((s|0)>=(u|0)){v=u;break}else r=r+160|0}}else v=p;q=q+8|0;if((q|0)>=(f|0))break;else p=v}return}function ze(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=a[g+2>>0]|0;m=g+8|0;n=a[(c[19716+(d[g+1>>0]<<2)>>2]|0)+(f+3856+(a[g+4>>0]<<3)+(a[m>>0]<<1))>>0]|0;o=d[g>>0]|0;p=l&255;q=a[29382+(o<<4)+(p<<2)+3>>0]|0;r=c[f+3972>>2]|0;s=(S(c[f+3976>>2]|0,h>>3)|0)+(i>>3)|0;f=r+(s*160|0)+(p<<3)|0;t=r+(s*160|0)+32+(p<<3)|0;u=r+(s*160|0)+64|0;v=q&255;w=r+(s*160|0)+72+(v<<1)|0;x=r+(s*160|0)+80+(v<<1)|0;y=r+(s*160|0)+88|0;z=h&7;h=i&7;i=h|z<<3;A=h>>>1|z>>>1<<2;B=a[29070+(z<<3)+h>>0]|0;if(!(n<<24>>24))return;if((k|0)>0){h=0;z=i;while(1){qh(r+(s*160|0)+90+z|0,n|0,j|0)|0;h=h+1|0;if((h|0)==(k|0))break;else z=z+8|0}}z=19088+(o<<3)|0;k=sh(c[z>>2]|0,c[z+4>>2]|0,i|0)|0;z=t;h=c[z+4>>2]|D;j=t;c[j>>2]=c[z>>2]|k;c[j+4>>2]=h;h=19192+(o<<3)|0;j=sh(c[h>>2]|0,c[h+4>>2]|0,i|0)|0;h=f;k=c[h+4>>2]|D;z=f;c[z>>2]=c[h>>2]|j;c[z+4>>2]=k;k=B<<24>>24!=0;if(k){b[x>>1]=e[x>>1]|e[21740+(o<<1)>>1]<<A;b[w>>1]=e[w>>1]|e[21766+(o<<1)>>1]<<A}if(a[g+3>>0]|0?(a[m>>0]|0)>0:0)return;m=19296+(o<<3)|0;g=c[m>>2]|0;B=c[m+4>>2]|0;m=19400+(p<<3)|0;z=sh(c[m>>2]&g|0,c[m+4>>2]&B|0,i|0)|0;m=t;j=D|c[m+4>>2];h=t;c[h>>2]=z|c[m>>2];c[h+4>>2]=j;j=19432+(p<<3)|0;p=sh(c[j>>2]&g|0,c[j+4>>2]&B|0,i|0)|0;j=f;h=D|c[j+4>>2];m=f;c[m>>2]=p|c[j>>2];c[m+4>>2]=h;if(k){h=b[21792+(o<<1)>>1]|0;b[x>>1]=(b[21818+(v<<1)>>1]&h&65535)<<A|e[x>>1];b[w>>1]=(b[21826+(v<<1)>>1]&h&65535)<<A|e[w>>1]}if(!(l<<24>>24)){l=sh(g|0,B|0,i|0)|0;i=u;B=c[i+4>>2]|D;g=u;c[g>>2]=c[i>>2]|l;c[g+4>>2]=B}if(!(q<<24>>24==0&k))return;b[y>>1]=e[y>>1]|e[21792+(o<<1)>>1]<<A;return}function Ae(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=b;c[a+4>>2]=d;c[a+272>>2]=0;c[a+276>>2]=0;c[a+280>>2]=0;vh(a+8|0,e|0,264)|0;return}function Be(a){a=a|0;if(!(c[a+3940>>2]|0))return;qh(c[a+3972>>2]|0,0,S((c[a+3976>>2]|0)*160|0,(c[a+600>>2]|0)+7>>3)|0)|0;return}function Ce(a,b){a=a|0;b=b|0;ye(c[a>>2]|0,c[a+4>>2]|0,a+8|0,c[a+272>>2]|0,c[a+276>>2]|0,c[a+280>>2]|0);return 1}function De(a,b,d,e,f,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=l;l=l+16|0;m=k+8|0;n=k;if(!e){l=k;return}o=b+600|0;p=c[o>>2]|0;if((g|0)!=0&(p|0)>8){q=(p|0)>71?p>>>3:8;r=p>>>1&2147483640}else{q=p;r=0}p=q+r|0;re(b,e);e=rd()|0;q=(c[o>>2]|0)+7>>3;o=1<<c[b+17368>>2];g=(o|0)>(i|0)?i:o;o=j+4|0;i=j+8|0;if(((c[o>>2]|0)!=0?(q|0)==(c[i>>2]|0):0)?(g|0)<=(c[j+16>>2]|0):0){s=j;t=q<<2}else{u=j+12|0;Wa(c[u>>2]|0);Wa(c[j>>2]|0);c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;v=c[b+256>>2]|0;c[i>>2]=q;i=Ua(g*284|0)|0;c[u>>2]=i;if(!i)Sa(b,2,29134,n);c[j+16>>2]=g;n=q<<2;q=Ua(n)|0;c[j>>2]=q;if(!q)Sa(b,2,29169,m);c[o>>2]=(v|0)<640?1:(v|0)<1281?2:(v|0)<4097?4:8;s=j;t=n}qh(c[s>>2]|0,-1,t|0)|0;if((g|0)<=0){l=k;return}t=j+12|0;s=g+-1|0;n=e+16|0;v=e+12|0;o=0;do{m=h+(o*24|0)|0;q=c[t>>2]|0;i=q+(o*284|0)|0;c[h+(o*24|0)+8>>2]=21;c[h+(o*24|0)+12>>2]=j;c[h+(o*24|0)+16>>2]=i;Ae(i,a,b,d);c[q+(o*284|0)+272>>2]=(o<<3)+r;c[q+(o*284|0)+276>>2]=p;c[q+(o*284|0)+280>>2]=f;if((o|0)==(s|0))ya[c[n>>2]&15](m);else ya[c[v>>2]&15](m);o=o+1|0}while((o|0)<(g|0));o=e+8|0;e=0;do{Aa[c[o>>2]&7](h+(e*24|0)|0)|0;e=e+1|0}while((e|0)<(g|0));l=k;return}function Ee(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;d=c[b>>2]|0;e=c[b+4>>2]|0;f=b+8|0;g=c[b+272>>2]|0;h=c[b+276>>2]|0;i=(c[b+280>>2]|0)!=0;j=i?1:3;k=e+608|0;a:do if(i)l=1;else{switch(c[b+104>>2]|0){case 1:{if((c[b+100>>2]|0)==1){l=0;break a}break}case 0:{if(!(c[b+100>>2]|0)){l=1;break a}break}default:{}}l=2}while(0);if((g|0)>=(h|0))return 1;m=e+736|0;n=e+612|0;o=e+3972|0;p=e+3976|0;q=a+16|0;a=c[k>>2]|0;r=g;while(1){g=(c[m>>2]|0)+((S(c[n>>2]|0,r)|0)<<2)|0;b:do if((a|0)>0){s=(c[o>>2]|0)+((S(c[p>>2]|0,r>>3)|0)*160|0)|0;if(i){t=s;u=0;while(1){Me(f,d,r,u);se(e,r,u,t);ve(e,f,r,t);u=u+8|0;v=c[k>>2]|0;if((u|0)>=(v|0)){w=v;break b}else t=t+160|0}}else{x=s;y=0}while(1){Me(f,d,r,y);se(e,r,y,x);ve(e,f,r,x);t=g+(y<<2)|0;switch(l&3){case 0:{u=1;do{xe(e,b+8+(u*88|0)|0,r,x);u=u+1|0}while((u|0)<(j|0));break}case 1:{u=1;do{ve(e,b+8+(u*88|0)|0,r,x);u=u+1|0}while((u|0)<(j|0));break}case 2:{u=1;do{te(e,b+8+(u*88|0)|0,t,r,y);u=u+1|0}while((u|0)<(j|0));break}default:{}}y=y+8|0;u=c[k>>2]|0;if((y|0)>=(u|0)){w=u;break b}else x=x+160|0}}else w=a;while(0);r=(c[q>>2]<<3)+r|0;if((r|0)>=(h|0))break;else a=w}return 1}function Fe(a){a=a|0;if(!a)return;Wa(c[a+12>>2]|0);Wa(c[a>>2]|0);c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;return}function Ge(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=0;do{f=a+(e*40|0)|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)>>2]|0);f=a+(e*40|0)+4|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+4>>2]|0);f=a+(e*40|0)+8|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+8>>2]|0);f=a+(e*40|0)+12|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+12>>2]|0);f=a+(e*40|0)+16|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+16>>2]|0);f=a+(e*40|0)+20|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+20>>2]|0);f=a+(e*40|0)+24|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+24>>2]|0);f=a+(e*40|0)+28|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+28>>2]|0);f=a+(e*40|0)+32|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+32>>2]|0);f=a+(e*40|0)+36|0;c[f>>2]=(c[f>>2]|0)+(c[b+(e*40|0)+36>>2]|0);e=e+1|0}while((e|0)!=4);g=0;do{e=a+160+(g*40|0)|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)>>2]|0);e=a+160+(g*40|0)+4|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+4>>2]|0);e=a+160+(g*40|0)+8|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+8>>2]|0);e=a+160+(g*40|0)+12|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+12>>2]|0);e=a+160+(g*40|0)+16|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+16>>2]|0);e=a+160+(g*40|0)+20|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+20>>2]|0);e=a+160+(g*40|0)+24|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+24>>2]|0);e=a+160+(g*40|0)+28|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+28>>2]|0);e=a+160+(g*40|0)+32|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+32>>2]|0);e=a+160+(g*40|0)+36|0;c[e>>2]=(c[e>>2]|0)+(c[b+160+(g*40|0)+36>>2]|0);g=g+1|0}while((g|0)!=10);h=0;do{g=a+560+(h<<4)|0;c[g>>2]=(c[g>>2]|0)+(c[b+560+(h<<4)>>2]|0);g=a+560+(h<<4)+4|0;c[g>>2]=(c[g>>2]|0)+(c[b+560+(h<<4)+4>>2]|0);g=a+560+(h<<4)+8|0;c[g>>2]=(c[g>>2]|0)+(c[b+560+(h<<4)+8>>2]|0);g=a+560+(h<<4)+12|0;c[g>>2]=(c[g>>2]|0)+(c[b+560+(h<<4)+12>>2]|0);h=h+1|0}while((h|0)!=16);if(!d){d=0;do{h=0;do{g=0;do{e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)>>2]|0);e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)+4|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)+4>>2]|0);e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)+8|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)+8>>2]|0);e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)+12|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)+12>>2]|0);e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)+16|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)+16>>2]|0);e=a+10032+(d*576|0)+(h*288|0)+(g*24|0)+20|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+(g*24|0)+20>>2]|0);g=g+1|0}while((g|0)!=6);i=0;do{g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)>>2]|0);g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+4|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+4>>2]|0);g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+8|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+8>>2]|0);g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+12|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+12>>2]|0);g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+16|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+16>>2]|0);g=a+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+20|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(h*288|0)+144+(i*24|0)+20>>2]|0);i=i+1|0}while((i|0)!=6);h=h+1|0}while((h|0)!=2);d=d+1|0}while((d|0)!=4)}else{d=0;do{i=0;do{h=0;do{g=0;do{e=a+10032+(d*576|0)+(i*288|0)+(h*24|0)+(g<<2)|0;c[e>>2]=(c[e>>2]|0)+(c[b+10032+(d*576|0)+(i*288|0)+(h*24|0)+(g<<2)>>2]|0);e=a+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)|0;c[e>>2]=(c[e>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)>>2]|0);e=a+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+4|0;c[e>>2]=(c[e>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+4>>2]|0);e=a+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+8|0;c[e>>2]=(c[e>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+8>>2]|0);e=a+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+12|0;c[e>>2]=(c[e>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+(h*96|0)+(g<<4)+12>>2]|0);g=g+1|0}while((g|0)!=6);h=h+1|0}while((h|0)!=6);j=0;do{h=0;do{g=a+10032+(d*576|0)+(i*288|0)+144+(j*24|0)+(h<<2)|0;c[g>>2]=(c[g>>2]|0)+(c[b+10032+(d*576|0)+(i*288|0)+144+(j*24|0)+(h<<2)>>2]|0);g=a+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)|0;c[g>>2]=(c[g>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)>>2]|0);g=a+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+4|0;c[g>>2]=(c[g>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+4>>2]|0);g=a+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+8|0;c[g>>2]=(c[g>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+8>>2]|0);g=a+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+12|0;c[g>>2]=(c[g>>2]|0)+(c[b+816+(d*2304|0)+(i*1152|0)+576+(j*96|0)+(h<<4)+12>>2]|0);h=h+1|0}while((h|0)!=6);j=j+1|0}while((j|0)!=6);i=i+1|0}while((i|0)!=2);d=d+1|0}while((d|0)!=4)}d=a+12336|0;c[d>>2]=(c[d>>2]|0)+(c[b+12336>>2]|0);d=a+12340|0;c[d>>2]=(c[d>>2]|0)+(c[b+12340>>2]|0);d=a+12344|0;c[d>>2]=(c[d>>2]|0)+(c[b+12344>>2]|0);d=a+12348|0;c[d>>2]=(c[d>>2]|0)+(c[b+12348>>2]|0);d=a+12352|0;c[d>>2]=(c[d>>2]|0)+(c[b+12352>>2]|0);d=a+12356|0;c[d>>2]=(c[d>>2]|0)+(c[b+12356>>2]|0);d=a+12360|0;c[d>>2]=(c[d>>2]|0)+(c[b+12360>>2]|0);d=a+12364|0;c[d>>2]=(c[d>>2]|0)+(c[b+12364>>2]|0);d=a+12368|0;c[d>>2]=(c[d>>2]|0)+(c[b+12368>>2]|0);d=a+12372|0;c[d>>2]=(c[d>>2]|0)+(c[b+12372>>2]|0);d=a+12376|0;c[d>>2]=(c[d>>2]|0)+(c[b+12376>>2]|0);d=a+12380|0;c[d>>2]=(c[d>>2]|0)+(c[b+12380>>2]|0);d=0;do{j=a+12384+(d<<4)|0;c[j>>2]=(c[j>>2]|0)+(c[b+12384+(d<<4)>>2]|0);j=a+12384+(d<<4)+4|0;c[j>>2]=(c[j>>2]|0)+(c[b+12384+(d<<4)+4>>2]|0);j=a+12384+(d<<4)+8|0;c[j>>2]=(c[j>>2]|0)+(c[b+12384+(d<<4)+8>>2]|0);j=a+12384+(d<<4)+12|0;c[j>>2]=(c[j>>2]|0)+(c[b+12384+(d<<4)+12>>2]|0);d=d+1|0}while((d|0)!=7);d=a+12496|0;c[d>>2]=(c[d>>2]|0)+(c[b+12496>>2]|0);d=a+12500|0;c[d>>2]=(c[d>>2]|0)+(c[b+12500>>2]|0);d=a+12504|0;c[d>>2]=(c[d>>2]|0)+(c[b+12504>>2]|0);d=a+12508|0;c[d>>2]=(c[d>>2]|0)+(c[b+12508>>2]|0);d=a+12512|0;c[d>>2]=(c[d>>2]|0)+(c[b+12512>>2]|0);d=a+12516|0;c[d>>2]=(c[d>>2]|0)+(c[b+12516>>2]|0);d=a+12520|0;c[d>>2]=(c[d>>2]|0)+(c[b+12520>>2]|0);d=a+12524|0;c[d>>2]=(c[d>>2]|0)+(c[b+12524>>2]|0);d=a+12528|0;c[d>>2]=(c[d>>2]|0)+(c[b+12528>>2]|0);d=a+12532|0;c[d>>2]=(c[d>>2]|0)+(c[b+12532>>2]|0);d=a+12536|0;c[d>>2]=(c[d>>2]|0)+(c[b+12536>>2]|0);d=a+12540|0;c[d>>2]=(c[d>>2]|0)+(c[b+12540>>2]|0);d=a+12544|0;c[d>>2]=(c[d>>2]|0)+(c[b+12544>>2]|0);d=a+12548|0;c[d>>2]=(c[d>>2]|0)+(c[b+12548>>2]|0);d=a+12552|0;c[d>>2]=(c[d>>2]|0)+(c[b+12552>>2]|0);d=a+12556|0;c[d>>2]=(c[d>>2]|0)+(c[b+12556>>2]|0);d=a+12560|0;c[d>>2]=(c[d>>2]|0)+(c[b+12560>>2]|0);d=a+12564|0;c[d>>2]=(c[d>>2]|0)+(c[b+12564>>2]|0);d=a+12568|0;c[d>>2]=(c[d>>2]|0)+(c[b+12568>>2]|0);d=a+12572|0;c[d>>2]=(c[d>>2]|0)+(c[b+12572>>2]|0);d=a+12576|0;c[d>>2]=(c[d>>2]|0)+(c[b+12576>>2]|0);d=a+12580|0;c[d>>2]=(c[d>>2]|0)+(c[b+12580>>2]|0);d=a+12584|0;c[d>>2]=(c[d>>2]|0)+(c[b+12584>>2]|0);d=a+12588|0;c[d>>2]=(c[d>>2]|0)+(c[b+12588>>2]|0);d=a+12592|0;c[d>>2]=(c[d>>2]|0)+(c[b+12592>>2]|0);d=a+12596|0;c[d>>2]=(c[d>>2]|0)+(c[b+12596>>2]|0);d=a+12600|0;c[d>>2]=(c[d>>2]|0)+(c[b+12600>>2]|0);d=a+12604|0;c[d>>2]=(c[d>>2]|0)+(c[b+12604>>2]|0);d=a+12608|0;c[d>>2]=(c[d>>2]|0)+(c[b+12608>>2]|0);d=a+12612|0;c[d>>2]=(c[d>>2]|0)+(c[b+12612>>2]|0);d=a+12616|0;c[d>>2]=(c[d>>2]|0)+(c[b+12616>>2]|0);d=a+12620|0;c[d>>2]=(c[d>>2]|0)+(c[b+12620>>2]|0);d=a+12624|0;c[d>>2]=(c[d>>2]|0)+(c[b+12624>>2]|0);d=a+12628|0;c[d>>2]=(c[d>>2]|0)+(c[b+12628>>2]|0);d=a+12632|0;c[d>>2]=(c[d>>2]|0)+(c[b+12632>>2]|0);d=a+12636|0;c[d>>2]=(c[d>>2]|0)+(c[b+12636>>2]|0);d=a+12640|0;c[d>>2]=(c[d>>2]|0)+(c[b+12640>>2]|0);d=a+12644|0;c[d>>2]=(c[d>>2]|0)+(c[b+12644>>2]|0);d=a+12648|0;c[d>>2]=(c[d>>2]|0)+(c[b+12648>>2]|0);d=a+12652|0;c[d>>2]=(c[d>>2]|0)+(c[b+12652>>2]|0);d=a+12656|0;c[d>>2]=(c[d>>2]|0)+(c[b+12656>>2]|0);d=a+12660|0;c[d>>2]=(c[d>>2]|0)+(c[b+12660>>2]|0);d=a+12664|0;c[d>>2]=(c[d>>2]|0)+(c[b+12664>>2]|0);d=a+12668|0;c[d>>2]=(c[d>>2]|0)+(c[b+12668>>2]|0);d=a+12672|0;c[d>>2]=(c[d>>2]|0)+(c[b+12672>>2]|0);d=a+12676|0;c[d>>2]=(c[d>>2]|0)+(c[b+12676>>2]|0);d=a+12680|0;c[d>>2]=(c[d>>2]|0)+(c[b+12680>>2]|0);d=a+12684|0;c[d>>2]=(c[d>>2]|0)+(c[b+12684>>2]|0);d=a+12688|0;c[d>>2]=(c[d>>2]|0)+(c[b+12688>>2]|0);d=a+12692|0;c[d>>2]=(c[d>>2]|0)+(c[b+12692>>2]|0);d=a+12696|0;c[d>>2]=(c[d>>2]|0)+(c[b+12696>>2]|0);d=a+12700|0;c[d>>2]=(c[d>>2]|0)+(c[b+12700>>2]|0);d=a+12720|0;c[d>>2]=(c[d>>2]|0)+(c[b+12720>>2]|0);d=a+12724|0;c[d>>2]=(c[d>>2]|0)+(c[b+12724>>2]|0);d=a+12728|0;c[d>>2]=(c[d>>2]|0)+(c[b+12728>>2]|0);d=a+12744|0;c[d>>2]=(c[d>>2]|0)+(c[b+12744>>2]|0);d=a+12748|0;c[d>>2]=(c[d>>2]|0)+(c[b+12748>>2]|0);d=a+12704|0;c[d>>2]=(c[d>>2]|0)+(c[b+12704>>2]|0);d=a+12708|0;c[d>>2]=(c[d>>2]|0)+(c[b+12708>>2]|0);d=a+12712|0;c[d>>2]=(c[d>>2]|0)+(c[b+12712>>2]|0);d=a+12716|0;c[d>>2]=(c[d>>2]|0)+(c[b+12716>>2]|0);d=a+12732|0;c[d>>2]=(c[d>>2]|0)+(c[b+12732>>2]|0);d=a+12736|0;c[d>>2]=(c[d>>2]|0)+(c[b+12736>>2]|0);d=a+12740|0;c[d>>2]=(c[d>>2]|0)+(c[b+12740>>2]|0);d=a+12752|0;c[d>>2]=(c[d>>2]|0)+(c[b+12752>>2]|0);d=a+12756|0;c[d>>2]=(c[d>>2]|0)+(c[b+12756>>2]|0);d=a+12760|0;c[d>>2]=(c[d>>2]|0)+(c[b+12760>>2]|0);d=a+12764|0;c[d>>2]=(c[d>>2]|0)+(c[b+12764>>2]|0);d=a+12768|0;c[d>>2]=(c[d>>2]|0)+(c[b+12768>>2]|0);d=a+12772|0;c[d>>2]=(c[d>>2]|0)+(c[b+12772>>2]|0);d=a+12776|0;c[d>>2]=(c[d>>2]|0)+(c[b+12776>>2]|0);d=a+12780|0;c[d>>2]=(c[d>>2]|0)+(c[b+12780>>2]|0);d=a+12784|0;c[d>>2]=(c[d>>2]|0)+(c[b+12784>>2]|0);d=a+12788|0;c[d>>2]=(c[d>>2]|0)+(c[b+12788>>2]|0);d=a+12792|0;c[d>>2]=(c[d>>2]|0)+(c[b+12792>>2]|0);d=a+12796|0;c[d>>2]=(c[d>>2]|0)+(c[b+12796>>2]|0);d=a+12800|0;c[d>>2]=(c[d>>2]|0)+(c[b+12800>>2]|0);d=a+12804|0;c[d>>2]=(c[d>>2]|0)+(c[b+12804>>2]|0);d=a+12808|0;c[d>>2]=(c[d>>2]|0)+(c[b+12808>>2]|0);d=a+12812|0;c[d>>2]=(c[d>>2]|0)+(c[b+12812>>2]|0);d=0;do{j=a+12816+(d*204|0)|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)>>2]|0);j=a+12816+(d*204|0)+188|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+188>>2]|0);j=a+12816+(d*204|0)+196|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+196>>2]|0);j=a+12816+(d*204|0)+4|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+4>>2]|0);j=a+12816+(d*204|0)+192|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+192>>2]|0);j=a+12816+(d*204|0)+200|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+200>>2]|0);j=a+12816+(d*204|0)+8|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+8>>2]|0);j=a+12816+(d*204|0)+12|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+12>>2]|0);j=a+12816+(d*204|0)+16|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+16>>2]|0);j=a+12816+(d*204|0)+20|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+20>>2]|0);j=a+12816+(d*204|0)+24|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+24>>2]|0);j=a+12816+(d*204|0)+28|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+28>>2]|0);j=a+12816+(d*204|0)+32|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+32>>2]|0);j=a+12816+(d*204|0)+36|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+36>>2]|0);j=a+12816+(d*204|0)+40|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+40>>2]|0);j=a+12816+(d*204|0)+44|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+44>>2]|0);j=a+12816+(d*204|0)+48|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+48>>2]|0);j=a+12816+(d*204|0)+52|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+52>>2]|0);j=a+12816+(d*204|0)+140|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+140>>2]|0);j=a+12816+(d*204|0)+144|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+144>>2]|0);j=a+12816+(d*204|0)+148|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+148>>2]|0);j=a+12816+(d*204|0)+152|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+152>>2]|0);j=a+12816+(d*204|0)+56|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+56>>2]|0);j=a+12816+(d*204|0)+156|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+156>>2]|0);j=a+12816+(d*204|0)+160|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+160>>2]|0);j=a+12816+(d*204|0)+164|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+164>>2]|0);j=a+12816+(d*204|0)+168|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+168>>2]|0);j=a+12816+(d*204|0)+60|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+60>>2]|0);j=a+12816+(d*204|0)+64|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+64>>2]|0);j=a+12816+(d*204|0)+68|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+68>>2]|0);j=a+12816+(d*204|0)+72|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+72>>2]|0);j=a+12816+(d*204|0)+76|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+76>>2]|0);j=a+12816+(d*204|0)+80|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+80>>2]|0);j=a+12816+(d*204|0)+84|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+84>>2]|0);j=a+12816+(d*204|0)+88|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+88>>2]|0);j=a+12816+(d*204|0)+92|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+92>>2]|0);j=a+12816+(d*204|0)+96|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+96>>2]|0);j=a+12816+(d*204|0)+100|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+100>>2]|0);j=a+12816+(d*204|0)+104|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+104>>2]|0);j=a+12816+(d*204|0)+108|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+108>>2]|0);j=a+12816+(d*204|0)+112|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+112>>2]|0);j=a+12816+(d*204|0)+116|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+116>>2]|0);j=a+12816+(d*204|0)+120|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+120>>2]|0);j=a+12816+(d*204|0)+124|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+124>>2]|0);j=a+12816+(d*204|0)+128|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+128>>2]|0);j=a+12816+(d*204|0)+132|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+132>>2]|0);j=a+12816+(d*204|0)+136|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+136>>2]|0);j=a+12816+(d*204|0)+172|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+172>>2]|0);j=a+12816+(d*204|0)+176|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+176>>2]|0);j=a+12816+(d*204|0)+180|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+180>>2]|0);j=a+12816+(d*204|0)+184|0;c[j>>2]=(c[j>>2]|0)+(c[b+12816+(d*204|0)+184>>2]|0);d=d+1|0}while((d|0)!=2);return}function He(a,c,d){a=a|0;c=c|0;d=d|0;d=c+a|0;return b[21834+(((d|0)<0?0:(d|0)<255?d:255)<<1)>>1]|0}function Ie(a,c,d){a=a|0;c=c|0;d=d|0;d=c+a|0;return b[22346+(((d|0)<0?0:(d|0)<255?d:255)<<1)>>1]|0}function Je(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;if(!(a[d>>0]|0)){g=f;return g|0}if(!(c[d+80+(e<<2)>>2]&1)){g=f;return g|0}h=((a[d+3>>0]|0)==1?0:f)+(b[d+16+(e<<3)>>1]|0)|0;g=(h|0)<0?0:(h|0)<255?h:255;return g|0}function Ke(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0;j=f<<4;f=g<<4;g=1-i|0;i=1-h|0;h=-64-j+(c[d+316>>2]<<i)|0;k=j+48+(c[d+320>>2]<<i)|0;j=-64-f+(c[d+324>>2]<<g)|0;l=f+48+(c[d+328>>2]<<g)|0;d=b[e+2>>1]<<i<<16>>16;i=b[e>>1]<<g<<16>>16;g=((i|0)<(j|0)?j:(i|0)>(l|0)?l:i)&65535|((d|0)<(h|0)?h:(d|0)>(k|0)?k:d)<<16;b[a>>1]=g;b[a+2>>1]=g>>>16;return}function Le(a,d,f,g,h){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;switch((((c[d+4>>2]|0)>0&1)<<1|(c[d+8>>2]|0)>0)&3){case 0:{d=f+20+(h*12|0)+4+(g<<2)|0;i=e[d>>1]|e[d+2>>1]<<16;b[a>>1]=i;b[a+2>>1]=i>>>16;return}case 1:{d=f+20+(h*12|0)+4+(g<<2)|0;j=f+20+((h+2|0)*12|0)+4+(g<<2)|0;k=(b[j>>1]|0)+(b[d>>1]|0)|0;l=(b[j+2>>1]|0)+(b[d+2>>1]|0)|0;i=(((l>>31|1)+l|0)/2|0)<<16|(((k>>31|1)+k|0)/2|0)&65535;b[a>>1]=i;b[a+2>>1]=i>>>16;return}case 2:{k=f+20+(h*12|0)+4+(g<<2)|0;l=f+20+((h+1|0)*12|0)+4+(g<<2)|0;h=(b[l>>1]|0)+(b[k>>1]|0)|0;d=(b[l+2>>1]|0)+(b[k+2>>1]|0)|0;i=(((d>>31|1)+d|0)/2|0)<<16|(((h>>31|1)+h|0)/2|0)&65535;b[a>>1]=i;b[a+2>>1]=i>>>16;return}case 3:{h=f+24+(g<<2)|0;d=f+36+(g<<2)|0;k=f+48+(g<<2)|0;l=f+60+(g<<2)|0;g=(b[d>>1]|0)+(b[h>>1]|0)+(b[k>>1]|0)+(b[l>>1]|0)|0;f=(b[d+2>>1]|0)+(b[h+2>>1]|0)+(b[k+2>>1]|0)+(b[l+2>>1]|0)|0;i=(((f>>31&-4|2)+f|0)/4|0)<<16|(((g>>31&-4|2)+g|0)/4|0)&65535;b[a>>1]=i;b[a+2>>1]=i>>>16;return}default:{}}}function Me(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=c[b+56>>2]|0;g=c[b+60>>2]|0;h=c[b+16>>2]|0;i=c[b+36>>2]|0;j=e<<3;e=d<<3;c[a+12>>2]=(c[b+52>>2]|0)+((S(e>>c[a+8>>2],h)|0)+(j>>c[a+4>>2]));c[a+16>>2]=h;c[a+100>>2]=f+((S(e>>c[a+96>>2],i)|0)+(j>>c[a+92>>2]));c[a+104>>2]=i;c[a+188>>2]=g+((S(e>>c[a+184>>2],i)|0)+(j>>c[a+180>>2]));c[a+192>>2]=i;return}function Ne(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!d)return;h=c[d+52>>2]|0;i=c[d+56>>2]|0;j=c[d+60>>2]|0;k=c[d+16>>2]|0;l=c[d+36>>2]|0;d=f<<3;f=e<<3;e=g+16|0;m=g+20|0;n=d>>c[a+4>>2];o=f>>c[a+8>>2];if(!g){c[a+20+(b<<3)>>2]=h+((S(o,k)|0)+n);c[a+20+(b<<3)+4>>2]=k;c[a+108+(b<<3)>>2]=i+((S(f>>c[a+96>>2],l)|0)+(d>>c[a+92>>2]));c[a+108+(b<<3)+4>>2]=l;p=d>>c[a+180>>2];q=f>>c[a+184>>2]}else{r=Ea[c[e>>2]&31](n,g)|0;c[a+20+(b<<3)>>2]=h+((S(Ea[c[m>>2]&31](o,g)|0,k)|0)+r);c[a+20+(b<<3)+4>>2]=k;k=f>>c[a+96>>2];r=Ea[c[e>>2]&31](d>>c[a+92>>2],g)|0;c[a+108+(b<<3)>>2]=i+((S(Ea[c[m>>2]&31](k,g)|0,l)|0)+r);c[a+108+(b<<3)+4>>2]=l;r=f>>c[a+184>>2];f=Ea[c[e>>2]&31](d>>c[a+180>>2],g)|0;p=f;q=Ea[c[m>>2]&31](r,g)|0}c[a+196+(b<<3)>>2]=j+((S(q,l)|0)+p);c[a+196+(b<<3)+4>>2]=l;return}
function Oe(b,d,e,f,g,h,i,j,k,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;o=l;l=l+112|0;p=o+80|0;q=o;r=e&255;if(!m)s=(c[b+300>>2]|0)!=0;else s=1;t=s&1;if(!k)u=(c[b+296>>2]|0)!=0;else u=1;v=u&1;w=((1<<r)+k|0)<(1<<d|0);d=q+16|0;x=4<<r;y=(n|0)==0;z=c[b+344>>2]|0;A=c[(y?z:z+20|0)>>2]|0;B=c[(y?z+4|0:z+24|0)>>2]|0;z=(0-(c[b+316>>2]|0)>>(c[b+(n*88|0)+4>>2]|0)+3)+(k<<2)|0;k=(0-(c[b+324>>2]|0)>>(c[b+(n*88|0)+8>>2]|0)+3)+(m<<2)|0;m=f&255;a:do if(757>>>m&1|0){if(!u){qh(p|0,-127,x|0)|0;break}if((c[b+328>>2]|0)>=0){if((x|0)>0)C=0;else break;while(1){a[p+C>>0]=a[g+((S(C,h)|0)+-1)>>0]|0;C=C+1|0;if((C|0)==(x|0))break a}}if((k+x|0)<=(B|0)){if((x|0)>0)D=0;else break;while(1){a[p+D>>0]=a[g+((S(D,h)|0)+-1)>>0]|0;D=D+1|0;if((D|0)==(x|0))break a}}n=B-k|0;if((n|0)>0){y=0;do{a[p+y>>0]=a[g+((S(y,h)|0)+-1)>>0]|0;y=y+1|0}while((y|0)!=(n|0));E=n}else E=0;if((x|0)>(E|0))qh(p+E|0,a[g+((S(n+-1|0,h)|0)+-1)>>0]|0,x-E|0)|0}while(0);if(!(627>>>m&1))F=d;else{do if(s){E=g+(0-h)|0;do if((c[b+320>>2]|0)<0){k=z+x|0;if((k|0)<=(A|0)){vh(d|0,E|0,x|0)|0;G=27;break}B=A-z|0;if((A|0)<(z|0))G=27;else{vh(d|0,E|0,B|0)|0;qh(d+B|0,a[d+(B+-1)>>0]|0,k-A|0)|0;G=27}}else if(e<<24>>24==0&w&u)H=E;else{vh(d|0,E|0,x|0)|0;G=27}while(0);if((G|0)==27)if(u)H=d;else{I=-127;J=d;break}I=a[E+-1>>0]|0;J=H}else{qh(d|0,127,x|0)|0;I=127;J=d}while(0);a[q+15>>0]=I;F=J}switch(f<<24>>24){case 3:case 8:{G=32;break}case 0:{Ga[c[34316+(v<<5)+(t<<4)+(r<<2)>>2]&63](i,j,F,p);l=o;return}default:K=F}if((G|0)==32){do if(s){t=g+(0-h)|0;do if((c[b+320>>2]|0)<0){v=x<<1;f=z+v|0;if((f|0)<=(A|0))if(e<<24>>24==0&w){vh(d|0,t|0,v|0)|0;G=48;break}else{vh(d|0,t|0,x|0)|0;qh(d+x|0,a[d+(x+-1)>>0]|0,x|0)|0;G=48;break}if((z+x|0)>(A|0)){v=A-z|0;if((A|0)<(z|0)){G=48;break}vh(d|0,t|0,v|0)|0;qh(d+v|0,a[d+(v+-1)>>0]|0,f-A|0)|0;G=48;break}v=A-z|0;if(e<<24>>24==0&w){vh(d|0,t|0,v|0)|0;qh(d+v|0,a[d+(v+-1)>>0]|0,f-A|0)|0;G=48;break}else{vh(d|0,t|0,x|0)|0;qh(d+x|0,a[d+(x+-1)>>0]|0,x|0)|0;G=48;break}}else{f=e<<24>>24==0&w;if(!(f&u)){vh(d|0,t|0,x|0)|0;v=d+x|0;if(f){vh(v|0,t+x|0,x|0)|0;G=48;break}else{qh(v|0,a[d+(x+-1)>>0]|0,x|0)|0;G=48;break}}else L=t}while(0);if((G|0)==48)if(u)L=F;else{M=-127;N=F;break}M=a[t+-1>>0]|0;N=L}else{qh(d|0,127,x<<1|0)|0;M=127;N=F}while(0);a[q+15>>0]=M;K=N}Ga[c[34380+(m<<4)+(r<<2)>>2]&63](i,j,K,p);l=o;return}function Pe(){if(c[8635]|0)return;c[8599]=1;c[8600]=2;c[8601]=3;c[8602]=4;c[8603]=5;c[8604]=6;c[8605]=7;c[8606]=8;c[8623]=9;c[8624]=10;c[8625]=11;c[8626]=12;c[8607]=13;c[8608]=14;c[8609]=15;c[8610]=16;c[8627]=17;c[8628]=18;c[8629]=19;c[8630]=20;c[8615]=21;c[8616]=22;c[8617]=23;c[8618]=24;c[8611]=25;c[8612]=26;c[8613]=27;c[8614]=28;c[8619]=29;c[8620]=30;c[8621]=31;c[8622]=32;c[8631]=33;c[8632]=34;c[8633]=35;c[8634]=36;c[8579]=37;c[8580]=38;c[8581]=39;c[8582]=40;c[8583]=41;c[8584]=42;c[8585]=43;c[8586]=44;c[8587]=45;c[8588]=46;c[8589]=47;c[8590]=48;c[8591]=49;c[8592]=50;c[8593]=51;c[8594]=52;c[8635]=1;return}function Qe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;b=a+24|0;if(c[b>>2]|0){d=0;return d|0}e=Va(1,1080)|0;if(!e){d=2;return d|0}c[b>>2]=e;b=c[a+16>>2]|0;c[e+4>>2]=b;c[e+196>>2]=16;c[e+344>>2]=0;f=a+20|0;a=c[f>>2]|0;if(!a){c[e+364>>2]=0;d=0;return d|0}else{c[e+364>>2]=(b&524288|0)!=0&(c[a>>2]|0)>>>0>1&1;b=e+184|0;c[b>>2]=c[a>>2];c[b+4>>2]=c[a+4>>2];c[b+8>>2]=c[a+8>>2];c[f>>2]=b;d=0;return d|0}return 0}function Re(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=a+368|0;d=c[b>>2]|0;if(d|0?(e=a+372|0,(c[e>>2]|0)>0):0){ya[c[(rd()|0)+20>>2]&15](d);d=c[e>>2]|0;if((d|0)>1){f=1;do{g=(c[b>>2]|0)+(f*24|0)|0;ya[c[(rd()|0)+20>>2]&15](g);f=f+1|0;g=c[e>>2]|0}while((f|0)<(g|0));h=g}else h=d;if((h|0)>0){h=0;do{d=c[(c[b>>2]|0)+(h*24|0)+12>>2]|0;xd((c[d>>2]|0)+432|0);Uf(c[d>>2]|0);Wa(c[d+32>>2]|0);Wa(d);h=h+1|0}while((h|0)<(c[e>>2]|0))}}e=a+1056|0;h=c[e>>2]|0;if(!h){i=c[b>>2]|0;Wa(i);j=c[e>>2]|0;Wa(j);Wa(a);return 0}vd(h);Ld((c[e>>2]|0)+2412|0);i=c[b>>2]|0;Wa(i);j=c[e>>2]|0;Wa(j);Wa(a);return 0}function Se(a,b,c){a=a|0;b=b|0;c=c|0;return _e(a,b,c,0,0,0)|0}function Te(a,b){a=a|0;b=b|0;var d=0;d=a+196|0;c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b>>2]=16;return 0}function Ue(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;g=l;l=l+64|0;h=g;i=g+48|0;j=g+40|0;k=g+44|0;m=g+8|0;n=g+4|0;c[j>>2]=d;o=d;c[k>>2]=o;p=d+e|0;q=b+344|0;if((e|0)==0&(d|0)==0){c[q>>2]=1;r=0;l=g;return r|0}c[q>>2]=0;s=b+368|0;if(!(c[s>>2]|0)){t=rd()|0;c[b+352>>2]=-1;c[b+376>>2]=0;c[b+380>>2]=0;c[b+384>>2]=0;c[b+1044>>2]=0;c[b+1040>>2]=0;c[b+1048>>2]=0;c[b+1052>>2]=1;u=b+364|0;if((c[u>>2]|0)==1)v=c[b+184>>2]|0;else v=1;w=b+372|0;x=(v|0)<8?v:8;c[w>>2]=x;c[b+388>>2]=x;c[q>>2]=0;q=Va(1,2420)|0;x=b+1056|0;c[x>>2]=q;if(!q){r=2;l=g;return r|0}q=Ua((c[w>>2]|0)*24|0)|0;c[s>>2]=q;if(!q){c[b>>2]=29661;r=2;l=g;return r|0}v=c[w>>2]|0;a:do if((v|0)>0){y=b+184|0;z=b+348|0;A=t+4|0;ya[c[t>>2]&15](q);B=Ta(32,48)|0;c[q+12>>2]=B;b:do if(B|0){C=q;D=q;E=B;F=0;while(1){G=Tf(c[x>>2]|0)|0;c[E>>2]=G;if(!G){H=15;break}c[G+17872>>2]=D;c[E+24>>2]=F;I=E+28|0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=0;c[I+12>>2]=0;I=c[u>>2]|0;if(!I)J=c[y>>2]|0;else J=0;c[G+18712>>2]=J;c[G+18716>>2]=c[z>>2];c[G+17864>>2]=I;c[G+4528>>2]=I;c[C+(F*24|0)+8>>2]=22;F=F+1|0;if(!(Aa[c[A>>2]&7](D)|0)){H=19;break}I=c[w>>2]|0;if((F|0)>=(I|0)){K=I;break a}C=c[s>>2]|0;D=C+(F*24|0)|0;ya[c[t>>2]&15](D);E=Ta(32,48)|0;c[C+(F*24|0)+12>>2]=E;if(!E)break b}if((H|0)==15){c[b>>2]=29694;r=2;l=g;return r|0}else if((H|0)==19){c[b>>2]=29731;r=2;l=g;return r|0}}while(0);c[b>>2]=29694;r=2;l=g;return r|0}else K=v;while(0);if((c[b+212>>2]|0)==0?c[b+4>>2]&65536|0:0){c[b+216>>2]=3;c[b+220>>2]=4;c[b+224>>2]=0}if((K|0)>0){v=b+356|0;t=b+360|0;J=b+1064|0;u=b+1068|0;x=b+1060|0;q=K;K=0;while(1){A=c[c[(c[s>>2]|0)+(K*24|0)+12>>2]>>2]|0;z=c[A+17836>>2]|0;c[A+988>>2]=-1;c[A+17808>>2]=c[v>>2];c[A+17812>>2]=c[t>>2];y=c[J>>2]|0;if((y|0)!=0?(B=c[u>>2]|0,(B|0)!=0):0){c[z+4>>2]=y;c[z+8>>2]=B;L=c[x>>2]|0;M=q}else{c[z+4>>2]=5;c[z+8>>2]=23;B=z+2412|0;if(Kd(B)|0)Sa(A+432|0,2,29767,h);L=B;M=c[w>>2]|0}c[z>>2]=L;K=K+1|0;if((K|0)>=(M|0))break;else q=M}}}M=b+228|0;q=b+232|0;K=ag(d,e,m,n,c[M>>2]|0,c[q>>2]|0)|0;if(K|0){r=K;l=g;return r|0}if(c[b+1072>>2]|0){K=c[b+1076>>2]|0;L=c[n>>2]|0;w=K+1|0;if((K|0)<(L+-1|0)){c[n>>2]=w;N=w}else N=L}else N=c[n>>2]|0;L=(N|0)>0;if(c[b+364>>2]|0){if(!L){do if(!(c[b+388>>2]|0)){if((c[b+1048>>2]|0)<6){Ye(b);break}c[b>>2]=29811;r=1;l=g;return r|0}while(0);r=Ze(b,j,e,f)|0;l=g;return r|0}j=p;N=b+388|0;w=b+1048|0;K=o;h=d;x=c[k>>2]|0;u=0;while(1){c[i>>2]=K;J=c[m+(u<<2)>>2]|0;if(K>>>0<d>>>0|J>>>0>(j-K|0)>>>0){O=29839;P=7;H=46;break}if(!(c[N>>2]|0)){if((c[w>>2]|0)>=6){O=29811;P=1;H=46;break}Ye(b)}Q=Ze(b,i,J,f)|0;if(Q|0){H=47;break}h=h+J|0;u=u+1|0;if((u|0)>=(c[n>>2]|0)){H=74;break}else{K=h;x=h}}if((H|0)==46){c[k>>2]=x;c[b>>2]=O;R=P}else if((H|0)==47){c[k>>2]=x;R=Q}else if((H|0)==74){c[k>>2]=h;r=0;l=g;return r|0}r=R;l=g;return r|0}if(L){L=p;R=o;o=d;h=c[k>>2]|0;Q=0;while(1){c[i>>2]=R;x=c[m+(Q<<2)>>2]|0;if(R>>>0<d>>>0|x>>>0>(L-R|0)>>>0){H=58;break}S=Ze(b,i,x,f)|0;if(S|0){H=61;break}o=o+x|0;Q=Q+1|0;if((Q|0)>=(c[n>>2]|0)){H=73;break}else{R=o;h=o}}if((H|0)==58){c[k>>2]=h;c[b>>2]=29839;T=7}else if((H|0)==61){c[k>>2]=h;T=S}else if((H|0)==73){c[k>>2]=o;r=0;l=g;return r|0}r=T;l=g;return r|0}T=p;if((e|0)>0)U=d;else{r=0;l=g;return r|0}while(1){d=Ze(b,k,T-U|0,f)|0;if(d|0){r=d;H=75;break}d=c[k>>2]|0;do if(d>>>0<p>>>0){e=d;while(1){o=c[M>>2]|0;if(!o)V=a[e>>0]|0;else{Ga[o&63](c[q>>2]|0,e,i,1);V=a[i>>0]|0}if(V<<24>>24){H=63;break}W=e+1|0;if(W>>>0<p>>>0)e=W;else{H=64;break}}if((H|0)==63){H=0;c[k>>2]=e;X=e;break}else if((H|0)==64){H=0;c[k>>2]=W;X=W;break}}else X=d;while(0);if(X>>>0<p>>>0)U=X;else{r=0;H=75;break}}if((H|0)==75){l=g;return r|0}return 0}function Ve(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=l;l=l+144|0;f=e+16|0;g=e;h=b+364|0;i=(c[h>>2]|0)==0;if((!i?(c[b+388>>2]|0)>0:0)?(c[b+344>>2]|0)==0:0){j=0;l=e;return j|0}k=b+1048|0;if((c[k>>2]|0)>0){m=c[b+1056>>2]|0;n=b+352|0;if(((((!i?(c[n>>2]|0)>-1:0)?(i=c[n>>2]|0,(i|0)>-1):0)?(o=m+12+(i*160|0)|0,p=c[o>>2]|0,(p|0)>0):0)?(q=p+-1|0,c[o>>2]=q,(q|0)==0):0)?c[m+12+(i*160|0)+24>>2]|0:0)Ea[c[m+8>>2]&31](c[m>>2]|0,m+12+(i*160|0)+16|0)|0;i=b+1044|0;m=c[i>>2]|0;c[n>>2]=c[b+392+(m*108|0)>>2];if(c[b+1052>>2]|0){j=0;l=e;return j|0}c[i>>2]=(m+1|0)%6|0;c[k>>2]=(c[k>>2]|0)+-1;j=b+392+(m*108|0)+4|0;l=e;return j|0}if(c[d>>2]|0){j=0;l=e;return j|0}d=b+368|0;if(!(c[d>>2]|0)){j=0;l=e;return j|0}m=b+384|0;k=b+372|0;i=b+4|0;n=b+388|0;q=b+1052|0;o=b+344|0;p=b+376|0;r=b+216|0;s=b+220|0;t=b+224|0;u=g+4|0;v=g+8|0;while(1){c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;w=rd()|0;x=c[d>>2]|0;y=c[m>>2]|0;z=c[x+(y*24|0)+12>>2]|0;c[m>>2]=(y+1|0)%(c[k>>2]|0)|0;if(c[i>>2]&65536|0){A=c[s>>2]|0;B=c[t>>2]|0;c[g>>2]=c[r>>2];c[u>>2]=A;c[v>>2]=B}B=z+28|0;if(!(Aa[c[w+8>>2]&7](x+(y*24|0)|0)|0)){c[B>>2]=0;c[n>>2]=(c[n>>2]|0)+1;c[q>>2]=1;if((c[o>>2]|0)!=1){C=0;break}}else{do if((c[B>>2]|0)==1){c[n>>2]=(c[n>>2]|0)+1;c[B>>2]=0;y=c[z>>2]|0;if((c[q>>2]|0)==1?(c[y+18720>>2]|0)==0:0){if((a[y+1012>>0]|0)==0?c[y+996>>2]|0:0){D=y;E=z;break}c[q>>2]=0;D=y;E=z}else{D=y;E=z}}else{D=c[z>>2]|0;E=z}while(0);if(!($f(D,f,g)|0)){F=29;break}}if((c[m>>2]|0)==(c[p>>2]|0)){j=0;F=42;break}}if((F|0)==42){l=e;return j|0}if((F|0)==29){F=c[E>>2]|0;p=c[F+17836>>2]|0;m=c[b+1056>>2]|0;g=b+352|0;if((c[h>>2]|0)!=0?(c[g>>2]|0)>-1:0){h=c[g>>2]|0;if((((h|0)>-1?(D=m+12+(h*160|0)|0,n=c[D>>2]|0,(n|0)>0):0)?(o=n+-1|0,c[D>>2]=o,(o|0)==0):0)?c[m+12+(h*160|0)+24>>2]|0:0)Ea[c[m+8>>2]&31](c[m>>2]|0,m+12+(h*160|0)+16|0)|0;G=c[E>>2]|0}else G=F;c[g>>2]=c[G+988>>2];if(!(c[q>>2]|0)){q=b+236|0;G=c[z+16>>2]|0;z=c[f+88>>2]|0;g=(z|0)==0;E=c[f+84>>2]|0;h=(E|0)!=0;c[q>>2]=g?(h?261:262):h?258:263;c[b+240>>2]=c[f+96>>2];c[b+244>>2]=c[f+100>>2];c[b+256>>2]=8;m=c[f+16>>2]|0;c[b+248>>2]=m;c[b+252>>2]=(c[f+4>>2]|0)+327&-8;c[b+260>>2]=c[f+8>>2];c[b+264>>2]=c[f+12>>2];c[b+268>>2]=c[f+104>>2];c[b+272>>2]=c[f+108>>2];c[b+276>>2]=E;c[b+280>>2]=z;c[b+284>>2]=c[f+52>>2];c[b+288>>2]=c[f+56>>2];c[b+292>>2]=c[f+60>>2];c[b+296>>2]=0;c[b+300>>2]=m;z=c[f+36>>2]|0;c[b+304>>2]=z;c[b+308>>2]=z;c[b+312>>2]=m;c[b+316>>2]=g?(h?16:24):h?12:16;c[b+320>>2]=G;c[b+324>>2]=c[f+68>>2];c[b+328>>2]=0;c[b+332>>2]=0;c[b+336>>2]=c[p+12+((c[F+988>>2]|0)*160|0)+24>>2];C=q}else C=0}j=C;l=e;return j|0}function We(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((b|0)==0|(d|0)==0){f=8;return f|0}if(c[a+368>>2]|0){f=1;return f|0}c[a+1064>>2]=b;c[a+1068>>2]=d;c[a+1060>>2]=e;f=0;return f|0}function Xe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=l;l=l+16|0;d=b;e=a+4|0;c[d>>2]=c[e>>2];f=a+12|0;g=_f(c[a>>2]|0,c[f>>2]|0,d)|0;c[a+20>>2]=g;h=c[d>>2]|0;c[a+8>>2]=h;d=c[a>>2]|0;i=(g|0)!=0;j=h;do if(!(c[d+17864>>2]|0)){if(i){c[(c[d+17868>>2]|0)+140>>2]=1;c[d+18720>>2]=1}}else{if(!i?((c[e>>2]|0)+(c[f>>2]|0)+-1|0)>>>0<=j>>>0:0)break;c[a+40>>2]=1;c[(c[(c[a>>2]|0)+17868>>2]|0)+140>>2]=1;c[(c[a>>2]|0)+18720>>2]=1;k=0;l=b;return k|0}while(0);k=(g|0)==0&1;l=b;return k|0}function Ye(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;d=l;l=l+144|0;e=d+16|0;f=d;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;g=rd()|0;h=c[b+368>>2]|0;i=b+384|0;j=c[i>>2]|0;k=c[h+(j*24|0)+12>>2]|0;c[i>>2]=(j+1|0)%(c[b+372>>2]|0)|0;Aa[c[g+8>>2]&7](h+(j*24|0)|0)|0;c[k+28>>2]=0;j=b+388|0;c[j>>2]=(c[j>>2]|0)+1;j=c[k>>2]|0;h=b+1052|0;do if((c[h>>2]|0)==1?(c[j+18720>>2]|0)==0:0){if((a[j+1012>>0]|0)==0?c[j+996>>2]|0:0)break;c[h>>2]=0}while(0);if($f(j,e,f)|0){l=d;return}f=c[k>>2]|0;j=c[f+17836>>2]|0;h=f+988|0;f=b+1040|0;c[b+392+((c[f>>2]|0)*108|0)>>2]=c[h>>2];g=c[f>>2]|0;i=c[k+16>>2]|0;k=c[e+88>>2]|0;m=(k|0)==0;n=c[e+84>>2]|0;o=(n|0)!=0;c[b+392+(g*108|0)+4>>2]=m?(o?261:262):o?258:263;c[b+392+(g*108|0)+8>>2]=c[e+96>>2];c[b+392+(g*108|0)+12>>2]=c[e+100>>2];c[b+392+(g*108|0)+24>>2]=8;p=c[e+16>>2]|0;c[b+392+(g*108|0)+16>>2]=p;c[b+392+(g*108|0)+20>>2]=(c[e+4>>2]|0)+327&-8;c[b+392+(g*108|0)+28>>2]=c[e+8>>2];c[b+392+(g*108|0)+32>>2]=c[e+12>>2];c[b+392+(g*108|0)+36>>2]=c[e+104>>2];c[b+392+(g*108|0)+40>>2]=c[e+108>>2];c[b+392+(g*108|0)+44>>2]=n;c[b+392+(g*108|0)+48>>2]=k;c[b+392+(g*108|0)+52>>2]=c[e+52>>2];c[b+392+(g*108|0)+56>>2]=c[e+56>>2];c[b+392+(g*108|0)+60>>2]=c[e+60>>2];c[b+392+(g*108|0)+64>>2]=0;c[b+392+(g*108|0)+68>>2]=p;k=c[e+36>>2]|0;c[b+392+(g*108|0)+72>>2]=k;c[b+392+(g*108|0)+76>>2]=k;c[b+392+(g*108|0)+80>>2]=p;c[b+392+(g*108|0)+84>>2]=m?(o?16:24):o?12:16;c[b+392+(g*108|0)+88>>2]=i;c[b+392+(g*108|0)+92>>2]=c[e+68>>2];c[b+392+(g*108|0)+96>>2]=0;c[b+392+(g*108|0)+100>>2]=0;c[b+392+((c[f>>2]|0)*108|0)+104>>2]=c[j+12+((c[h>>2]|0)*160|0)+24>>2];c[f>>2]=((c[f>>2]|0)+1|0)%6|0;f=b+1048|0;c[f>>2]=(c[f>>2]|0)+1;l=d;return}function Ze(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=l;l=l+16|0;h=g;i=rd()|0;do if(!(c[b+204>>2]|0)){c[h>>2]=0;j=_e(c[d>>2]|0,e,b+196|0,h,c[b+228>>2]|0,c[b+232>>2]|0)|0;if(!j){if(!(c[h>>2]|c[b+208>>2]))k=1;else break;l=g;return k|0}else{k=j;l=g;return k|0}}while(0);h=c[b+368>>2]|0;if(c[b+364>>2]|0){j=b+376|0;m=c[j>>2]|0;n=h+(m*24|0)|0;o=c[h+(m*24|0)+12>>2]|0;p=b+380|0;c[(c[o>>2]|0)+17856>>2]=0;q=o+36|0;r=o+32|0;s=c[r>>2]|0;do if((c[q>>2]|0)>>>0<e>>>0){Wa(s);t=Ua(e)|0;c[r>>2]=t;if(t|0){c[q>>2]=e;u=t;break}c[b>>2]=29867;k=2;l=g;return k|0}else u=s;while(0);c[o+12>>2]=e;vh(u|0,c[d>>2]|0,e|0)|0;c[o+44>>2]=0;c[o+40>>2]=0;c[o+28>>2]=1;c[o+4>>2]=c[r>>2];c[o+16>>2]=f;o=c[j>>2]|0;r=c[p>>2]|0;u=c[b+372>>2]|0;if((o|0)!=(r|0))c[p>>2]=(r+1|0)%(u|0)|0;c[j>>2]=(o+1|0)%(u|0)|0;u=b+388|0;c[u>>2]=(c[u>>2]|0)+-1;c[h+(m*24|0)+20>>2]=0;ya[c[i+12>>2]&15](n);k=0;l=g;return k|0}n=c[h+12>>2]|0;c[n+4>>2]=c[d>>2];c[n+12>>2]=e;c[n+16>>2]=f;c[n+28>>2]=1;f=c[n>>2]|0;c[f+18704>>2]=c[b+228>>2];c[f+18708>>2]=c[b+232>>2];f=h+20|0;c[f>>2]=0;ya[c[i+16>>2]&15](h);c[d>>2]=c[n+8>>2];d=c[n>>2]|0;if(c[f>>2]|0){f=c[d+432>>2]|0;if(!f){k=0;l=g;return k|0}c[b>>2]=c[d+436>>2]|0?d+440|0:0;k=f;l=g;return k|0}f=b+1052|0;if((c[f>>2]|0)!=1){k=0;l=g;return k|0}if(c[d+18720>>2]|0){k=0;l=g;return k|0}if((a[d+1012>>0]|0)==0?c[d+996>>2]|0:0){k=0;l=g;return k|0}c[f>>2]=0;k=0;l=g;return k|0}function _e(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=l;l=l+32|0;i=h+20|0;j=h;if((b|0)<1){k=8;l=h;return k|0}m=d+12|0;c[m>>2]=0;n=d+8|0;c[n>>2]=0;o=d+4|0;c[o>>2]=0;d=b>>>0<10?b:10;if(!f){p=a;q=b}else{Ga[f&63](g,a,i,d);p=i;q=d}c[j>>2]=p;c[j+4>>2]=p+q;p=j+8|0;c[p>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;d=hb(j,2)|0;i=yf(j)|0;a:do if(!((d|0)!=2|i>>>0>3)){if(gb(j)|0){if(q>>>0<2&i>>>0>2){r=5;break}hb(j,3)|0;r=0;break}if(q>>>0>=10){c[m>>2]=(gb(j)|0)==0&1;a=gb(j)|0;g=gb(j)|0;do if(!(c[m>>2]|0)){if(a|0){c[p>>2]=(c[p>>2]|0)+(g|0?0:2);s=0;break}f=gb(j)|0;c[p>>2]=(c[p>>2]|0)+(g|0?0:2);if(!f)s=0;else{if(!(wf(j)|0)){r=5;break a}switch(i|0){case 0:{t=c[p>>2]|0;break}case 1:{u=27;break}default:{c[p>>2]=(c[p>>2]|0)+1;u=27}}do if((u|0)==27){b=(i|2|0)==3;if((hb(j,3)|0)==7){if(!b){r=5;break a}v=c[p>>2]|0}else{w=c[p>>2]|0;x=w+1|0;c[p>>2]=x;if(!b){t=x;break}x=w+3|0;c[p>>2]=x;v=x}x=v+1|0;c[p>>2]=x;t=x}while(0);c[p>>2]=t+8;xf(j,o,n);s=f}}else{if(!(wf(j)|0)){r=5;break a}if(i>>>0>1)c[p>>2]=(c[p>>2]|0)+1;x=(i|2|0)==3;if((hb(j,3)|0)!=7){w=c[p>>2]|0;c[p>>2]=w+1;if(x){b=w+3|0;c[p>>2]=b;y=b;u=18}}else{if(!x){r=5;break a}y=c[p>>2]|0;u=18}if((u|0)==18)c[p>>2]=y+1;xf(j,o,n);s=0}while(0);if(!e){k=0;l=h;return k|0}c[e>>2]=s;k=0;l=h;return k|0}else r=5}else r=5;while(0);k=r;l=h;return k|0}function $e(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(c[a+364>>2]|0){c[a>>2]=29903;h=4;l=d;return h|0}if(!g){h=8;l=d;return h|0}f=c[(c[a+368>>2]|0)+12>>2]|0;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];a=c[g+28>>2]|0;c[e+8>>2]=a;b=c[g+32>>2]|0;c[e+12>>2]=b;c[e+104>>2]=c[g+36>>2];c[e+108>>2]=c[g+40>>2];c[e>>2]=a;c[e+4>>2]=b;i=c[g+44>>2]|0;j=(i|0)==1?(a+1|0)/2|0:a;c[e+20>>2]=j;a=c[g+48>>2]|0;k=(a|0)==1?(b+1|0)/2|0:b;c[e+24>>2]=k;c[e+28>>2]=j;c[e+32>>2]=k;k=c[g+68>>2]|0;c[e+16>>2]=k;c[e+36>>2]=c[g+72>>2];c[e+96>>2]=c[g+8>>2];c[e+100>>2]=c[g+12>>2];c[e+76>>2]=(k-(c[g+16>>2]|0)|0)>>>1;c[e+84>>2]=i;c[e+88>>2]=a;h=Yf(c[f>>2]|0,c[g>>2]|0,e)|0;l=d;return h|0}function af(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;d=l;l=l+128|0;e=d;f=(c[b>>2]|0)+(4-1)&~(4-1);g=c[f>>2]|0;c[b>>2]=f+4;if(c[a+364>>2]|0){c[a>>2]=29903;h=4;l=d;return h|0}if(!g){h=8;l=d;return h|0}f=c[(c[a+368>>2]|0)+12>>2]|0;c[e+52>>2]=c[g+52>>2];c[e+56>>2]=c[g+56>>2];c[e+60>>2]=c[g+60>>2];a=c[g+28>>2]|0;c[e+8>>2]=a;b=c[g+32>>2]|0;c[e+12>>2]=b;c[e+104>>2]=c[g+36>>2];c[e+108>>2]=c[g+40>>2];c[e>>2]=a;c[e+4>>2]=b;i=c[g+44>>2]|0;j=(i|0)==1?(a+1|0)/2|0:a;c[e+20>>2]=j;a=c[g+48>>2]|0;k=(a|0)==1?(b+1|0)/2|0:b;c[e+24>>2]=k;c[e+28>>2]=j;c[e+32>>2]=k;k=c[g+68>>2]|0;c[e+16>>2]=k;c[e+36>>2]=c[g+72>>2];c[e+96>>2]=c[g+8>>2];c[e+100>>2]=c[g+12>>2];c[e+76>>2]=(k-(c[g+16>>2]|0)|0)>>>1;c[e+84>>2]=i;c[e+88>>2]=a;a=(c[f>>2]|0)+432|0;f=c[g>>2]|0;switch(f|0){case 4:case 2:case 1:{m=f;break}default:m=1}h=Zf(a,m,e)|0;l=d;return h|0}function bf(a,b){a=a|0;b=b|0;return 4}function cf(a,b){a=a|0;b=b|0;var d=0,e=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;c[a+348>>2]=e;return 0}function df(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){c[a+228>>2]=0;f=0;g=a+232|0;c[g>>2]=f;return 0}else{c[a+228>>2]=c[e>>2];f=c[e+4>>2]|0;g=a+232|0;c[g>>2]=f;return 0}return 0}function ef(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(e|0){if((e+-32|0)>>>0>992){f=8;return f|0}if(e+-1&e|0){f=8;return f|0}}c[a+356>>2]=e;d=c[a+368>>2]|0;if(!d){f=0;return f|0}c[(c[c[d+12>>2]>>2]|0)+17808>>2]=e;f=0;return f|0}function ff(a,b){a=a|0;b=b|0;var d=0,e=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;c[a+360>>2]=e;d=c[a+368>>2]|0;if(!d)return 0;c[(c[c[d+12>>2]>>2]|0)+17812>>2]=e;return 0}function gf(a,b){a=a|0;b=b|0;var d=0,e=0;c[a+1072>>2]=1;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;c[a+1076>>2]=e;return e>>31&8|0}function hf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(c[a+364>>2]|0){c[a>>2]=29903;f=4;return f|0}if(!e){f=8;return f|0}d=c[a+368>>2]|0;if(!d){f=1;return f|0}c[e>>2]=c[(c[c[d+12>>2]>>2]|0)+17860>>2];f=0;return f|0}function jf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(!e){f=8;return f|0}d=c[a+368>>2]|0;if(!d){f=1;return f|0}b=c[c[d+12>>2]>>2]|0;if(!(c[b+720>>2]|0)){f=1;return f|0}d=c[a+352>>2]|0;if((d|0)<=-1){f=0;return f|0}c[e>>2]=c[(c[b+17836>>2]|0)+12+(d*160|0)+140>>2];f=0;return f|0}function kf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(c[a+364>>2]|0){c[a>>2]=29903;f=4;return f|0}if(!e){f=8;return f|0}d=c[c[(c[a+368>>2]|0)+12>>2]>>2]|0;a=c[e>>2]|0;if(a>>>0>7){f=1;return f|0}b=c[d+732+(a<<2)>>2]|0;if((b|0)<0){f=1;return f|0}a=c[d+17836>>2]|0;d=c[a+12+(b*160|0)+116>>2]|0;g=(d|0)==0;h=c[a+12+(b*160|0)+112>>2]|0;i=(h|0)!=0;c[e+4>>2]=g?(i?261:262):i?258:263;c[e+8>>2]=c[a+12+(b*160|0)+124>>2];c[e+12>>2]=c[a+12+(b*160|0)+128>>2];c[e+24>>2]=8;j=a+12+(b*160|0)+44|0;k=c[j>>2]|0;c[e+16>>2]=k;c[e+20>>2]=(c[a+12+(b*160|0)+32>>2]|0)+327&-8;c[e+28>>2]=c[a+12+(b*160|0)+36>>2];c[e+32>>2]=c[a+12+(b*160|0)+40>>2];c[e+36>>2]=c[a+12+(b*160|0)+132>>2];c[e+40>>2]=c[a+12+(b*160|0)+136>>2];c[e+44>>2]=h;c[e+48>>2]=d;c[e+52>>2]=c[a+12+(b*160|0)+80>>2];c[e+56>>2]=c[a+12+(b*160|0)+84>>2];c[e+60>>2]=c[a+12+(b*160|0)+88>>2];c[e+64>>2]=0;c[e+68>>2]=k;k=a+12+(b*160|0)+64|0;c[e+72>>2]=c[k>>2];c[e+76>>2]=c[k>>2];c[e+80>>2]=c[j>>2];c[e+84>>2]=g?(i?16:24):i?12:16;c[e+88>>2]=0;c[e+92>>2]=c[a+12+(b*160|0)+96>>2];c[e+96>>2]=0;c[e+100>>2]=0;f=0;return f|0}function lf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(c[a+364>>2]|0){c[a>>2]=29903;f=4;return f|0}if(!e){f=8;return f|0}d=c[a+368>>2]|0;if(!d){f=1;return f|0}a=c[c[d+12>>2]>>2]|0;c[e>>2]=c[a+696>>2];c[e+4>>2]=c[a+700>>2];f=0;return f|0}function mf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;d=c[a+368>>2]|0;b=c[a+384>>2]|0;if(!e){f=8;return f|0}if(!(d+(b*24|0)|0)){f=1;return f|0}c[e>>2]=c[(c[c[d+(b*24|0)+12>>2]>>2]|0)+17784>>2];f=0;return f|0}function nf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=(c[b>>2]|0)+(4-1)&~(4-1);e=c[d>>2]|0;c[b>>2]=d+4;if(c[a+364>>2]|0){c[a>>2]=29903;f=4;return f|0}if(!e){f=8;return f|0}d=c[a+368>>2]|0;if(!d){f=1;return f|0}a=c[c[d+12>>2]>>2]|0;c[e>>2]=c[a+688>>2];c[e+4>>2]=c[a+692>>2];f=0;return f|0}function of(){return 20052}function pf(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0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&(j|0)>0){C=2147483647;D=0;while(1){E=(S(D,x)|0)+v|0;F=C;G=0;do{H=d[A+(E+G)>>0]|0;F=(F|0)<(H|0)?F:H;G=G+1|0}while((G|0)!=(i|0));D=D+1|0;if((D|0)==(j|0)){I=F;break}else C=F}}else I=2147483647;else I=0;if(!(a[f+4413>>0]|0)){C=c[f+1204>>2]|0;if(!((i|0)>0&(j|0)>0)){J=I;break}if(B){D=0;while(1){G=0;do{a[C+(G+v+(S(c[w>>2]|0,D)|0))>>0]=0;G=G+1|0}while((G|0)!=(i|0));D=D+1|0;if((D|0)==(j|0)){J=I;break a}}}else{D=0;while(1){B=0;do{G=B+v+(S(c[w>>2]|0,D)|0)|0;a[C+G>>0]=a[A+G>>0]|0;B=B+1|0}while((B|0)!=(i|0));D=D+1|0;if((D|0)==(j|0)){J=I;break a}}}}if(a[f+4416>>0]|0){D=c[e+13576>>2]|0;A=c[e+13580>>2]|0;if(!A)K=0;else K=a[A+5>>0]|0;if(!D)L=0;else L=a[D+5>>0]|0;D=d[L+K+(f+4424)>>0]|0;A=e+16|0;C=(256-D+(S(c[A>>2]|0,D)|0)|0)>>>8;D=e+20|0;B=c[D>>2]|0;if((B|0)<0){db(q);M=c[D>>2]|0}else M=B;B=c[q>>2]|0;G=C<<24;if(B>>>0<G>>>0){N=0;O=C;P=B}else{N=1;O=(c[A>>2]|0)-C|0;P=B-G|0}G=d[1280+O>>0]|0;B=O<<G;C=M-G|0;c[q>>2]=P<<G;c[D>>2]=C;c[A>>2]=B;a[u+5>>0]=N;if(!N){Q=B;R=C;T=D;U=A;V=q;W=100}else X=I}else{A=e+16|0;D=e+20|0;Q=c[A>>2]|0;R=c[D>>2]|0;T=D;U=A;V=q;W=100}if((W|0)==100){A=Q;D=R;C=0;do{B=C<<24>>24;G=d[(B>>1)+(f+4417)>>0]|0;F=(256-G+(S(G,A)|0)|0)>>>8;if((D|0)<0){db(q);Y=c[T>>2]|0}else Y=D;G=c[V>>2]|0;E=F<<24;if(G>>>0<E>>>0){Z=0;_=F;$=G}else{Z=1;_=(c[U>>2]|0)-F|0;$=G-E|0}E=d[1280+_>>0]|0;A=_<<E;D=Y-E|0;c[V>>2]=$<<E;c[T>>2]=D;c[U>>2]=A;C=a[29056+(Z+B)>>0]|0}while(C<<24>>24>0);X=0-(C<<24>>24)|0}if((j|0)>0?(A=X&255,D=f+1204|0,(i|0)>0):0){B=0;do{E=0;do{a[(c[D>>2]|0)+(E+v+(S(c[w>>2]|0,B)|0))>>0]=A;E=E+1|0}while((E|0)!=(i|0));B=B+1|0}while((B|0)!=(j|0));J=X}else J=X}else J=0;while(0);X=u+4|0;a[X>>0]=J;v=u+3|0;a[v>>0]=qf(s,r,J<<24>>24,q)|0;J=a[X>>0]|0;if((a[y>>0]|0)!=0?(c[f+4492+(J<<2)>>2]&4|0)!=0:0)aa=(b[f+4428+(J<<3)+4>>1]|0)!=0&1;else{J=c[e+13576>>2]|0;Z=c[e+13580>>2]|0;U=(Z|0)!=0;T=(J|0)!=0;if(!(T&U))if(T|U)ba=((a[(U?Z:J)+8>>0]|0)<1&1)<<1;else ba=0;else{U=(a[Z+8>>0]|0)>0;Z=(a[J+8>>0]|0)>0;ba=U|Z?(U&Z^1)&1:3}Z=d[(c[f+4540>>2]|0)+1931+ba>>0]|0;U=e+16|0;J=(256-Z+(S(c[U>>2]|0,Z)|0)|0)>>>8;Z=e+20|0;T=c[Z>>2]|0;if((T|0)<0){db(q);ca=c[Z>>2]|0}else ca=T;T=c[q>>2]|0;$=J<<24;if(T>>>0<$>>>0){da=0;ea=J;fa=T}else{da=1;ea=(c[U>>2]|0)-J|0;fa=T-$|0}$=d[1280+ea>>0]|0;c[q>>2]=fa<<$;c[Z>>2]=ca-$;c[U>>2]=ea<<$;$=c[e+13548>>2]|0;ea=$+12496+(ba<<3)+(da<<2)|0;if(!$)aa=da;else{c[ea>>2]=(c[ea>>2]|0)+1;aa=da}}da=(aa|0)==0;a[u+2>>0]=rf(s,r,(da|(a[v>>0]|0)==0)&1,q)|0;v=a[u>>0]|0;if(da){switch(v<<24>>24){case 0:{da=f+4540|0;aa=e+16|0;ea=e+20|0;$=e+13548|0;ba=0;do{U=c[da>>2]|0;ca=c[aa>>2]|0;Z=c[ea>>2]|0;fa=0;do{T=fa<<24>>24;J=d[U+(T>>1)>>0]|0;V=(256-J+(S(J,ca)|0)|0)>>>8;if((Z|0)<0){db(q);ga=c[ea>>2]|0}else ga=Z;J=c[q>>2]|0;Y=V<<24;if(J>>>0<Y>>>0){ha=0;ia=V;ja=J}else{ha=1;ia=(c[aa>>2]|0)-V|0;ja=J-Y|0}Y=d[1280+ia>>0]|0;ca=ia<<Y;Z=ga-Y|0;c[q>>2]=ja<<Y;c[ea>>2]=Z;c[aa>>2]=ca;fa=a[27664+(ha+T)>>0]|0}while(fa<<24>>24>0);ca=0-(fa&255)|0;Z=c[$>>2]|0;U=Z+((ca&255)<<2)|0;if(Z|0)c[U>>2]=(c[U>>2]|0)+1;a[u+20+(ba*12|0)>>0]=ca;ba=ba+1|0}while((ba|0)!=4);ba=a[u+56>>0]|0;a[u+1>>0]=ba;ka=ba;la=da;ma=ea;na=aa;oa=q;break}case 1:{aa=f+4540|0;ea=c[aa>>2]|0;da=e+16|0;ba=e+20|0;$=c[da>>2]|0;ha=c[ba>>2]|0;ja=0;do{ga=ja<<24>>24;ia=d[ea+(ga>>1)>>0]|0;ca=(256-ia+(S(ia,$)|0)|0)>>>8;if((ha|0)<0){db(q);pa=c[ba>>2]|0}else pa=ha;ia=c[q>>2]|0;U=ca<<24;if(ia>>>0<U>>>0){qa=0;ra=ca;sa=ia}else{qa=1;ra=(c[da>>2]|0)-ca|0;sa=ia-U|0}U=d[1280+ra>>0]|0;$=ra<<U;ha=pa-U|0;c[q>>2]=sa<<U;c[ba>>2]=ha;c[da>>2]=$;ja=a[27664+(qa+ga)>>0]|0}while(ja<<24>>24>0);qa=0-(ja&255)|0;ja=qa&255;sa=e+13548|0;pa=c[sa>>2]|0;ra=pa+((qa&255)<<2)|0;if(!pa){ta=$;ua=ha}else{c[ra>>2]=(c[ra>>2]|0)+1;ta=c[da>>2]|0;ua=c[ba>>2]|0}a[u+44>>0]=ja;a[u+20>>0]=ja;ja=c[aa>>2]|0;ra=ta;ta=ua;ua=0;do{ha=ua<<24>>24;$=d[ja+(ha>>1)>>0]|0;pa=(256-$+(S($,ra)|0)|0)>>>8;if((ta|0)<0){db(q);va=c[ba>>2]|0}else va=ta;$=c[q>>2]|0;qa=pa<<24;if($>>>0<qa>>>0){wa=0;xa=pa;ya=$}else{wa=1;xa=(c[da>>2]|0)-pa|0;ya=$-qa|0}qa=d[1280+xa>>0]|0;ra=xa<<qa;ta=va-qa|0;c[q>>2]=ya<<qa;c[ba>>2]=ta;c[da>>2]=ra;ua=a[27664+(wa+ha)>>0]|0}while(ua<<24>>24>0);wa=0-(ua&255)|0;ua=wa&255;ra=c[sa>>2]|0;sa=ra+((wa&255)<<2)|0;if(ra|0)c[sa>>2]=(c[sa>>2]|0)+1;a[u+1>>0]=ua;a[u+56>>0]=ua;a[u+32>>0]=ua;ka=ua;la=aa;ma=ba;na=da;oa=q;break}case 2:{da=f+4540|0;ba=c[da>>2]|0;aa=e+16|0;ua=e+20|0;sa=c[aa>>2]|0;ra=c[ua>>2]|0;wa=0;do{ta=wa<<24>>24;ya=d[ba+(ta>>1)>>0]|0;va=(256-ya+(S(ya,sa)|0)|0)>>>8;if((ra|0)<0){db(q);za=c[ua>>2]|0}else za=ra;ya=c[q>>2]|0;xa=va<<24;if(ya>>>0<xa>>>0){Aa=0;Ba=va;Ca=ya}else{Aa=1;Ba=(c[aa>>2]|0)-va|0;Ca=ya-xa|0}xa=d[1280+Ba>>0]|0;sa=Ba<<xa;ra=za-xa|0;c[q>>2]=Ca<<xa;c[ua>>2]=ra;c[aa>>2]=sa;wa=a[27664+(Aa+ta)>>0]|0}while(wa<<24>>24>0);Aa=0-(wa&255)|0;wa=Aa&255;Ca=e+13548|0;za=c[Ca>>2]|0;Ba=za+((Aa&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<<6)+8>>2]|0;jb=kb+g|0;if(((jb|0)>=0?(ma=c[20248+(ka<<6)+12>>2]|0,ka=ma+h|0,(jb|0)<(c[gb>>2]|0)?(ka|0)>=(c[na>>2]|0):0):0)?(ka|0)<(c[ib>>2]|0):0)mb=(c[21080+(d[(c[(c[t>>2]|0)+((S(c[oa>>2]|0,kb)|0)+ma<<2)>>2]|0)+1>>0]<<2)>>2]|0)+lb|0;else mb=lb;lb=c[21136+(mb<<2)>>2]|0;if((a[y>>0]|0)!=0?(c[f+4492+(a[X>>0]<<2)>>2]&8|0)!=0:0){a[u+1>>0]=12;if((v&255)<3)Sa(c[e+13708>>2]|0,5,29942,m);else W=204}else W=172;c:do if((W|0)==172){if((v&255)>2){m=lb&255;X=c[Ca>>2]|0;y=e+16|0;mb=e+20|0;ma=c[y>>2]|0;kb=c[mb>>2]|0;oa=0;do{ib=oa<<24>>24;ka=d[(ib>>1)+(X+1910+(m*3|0))>>0]|0;na=(256-ka+(S(ka,ma)|0)|0)>>>8;if((kb|0)<0){db(q);nb=c[mb>>2]|0}else nb=kb;ka=c[q>>2]|0;gb=na<<24;if(ka>>>0<gb>>>0){ob=0;pb=na;qb=ka}else{ob=1;pb=(c[y>>2]|0)-na|0;qb=ka-gb|0}gb=d[1280+pb>>0]|0;ma=pb<<gb;kb=nb-gb|0;c[q>>2]=qb<<gb;c[mb>>2]=kb;c[y>>2]=ma;oa=a[27682+(ob+ib)>>0]|0}while(oa<<24>>24>0);ma=oa<<24>>24;y=c[Qa>>2]|0;kb=y+12384+(m<<4)+(0-ma<<2)|0;if(y|0)c[kb>>2]=(c[kb>>2]|0)+1;kb=10-ma&255;ma=u+1|0;a[ma>>0]=kb;if(kb<<24>>24==12){W=204;break}else{rb=kb;sb=ma}}else{ma=u+1|0;a[ma>>0]=10;rb=10;sb=ma}ma=n+-4|0;kb=Ra?2:1;if(!Oa){y=rb;mb=0;while(1){X=tf(s,r,y,a[u+8+mb>>0]|0,ua,n,g,h,-1,0,7,f)|0;if((X|0)>0){fa=0;do{ib=n+(fa<<2)|0;gb=b[ib>>1]|0;ka=gb<<16>>16;if(ka&1|0)b[ib>>1]=(gb<<16>>16>0?65535:1)+ka;ka=ib+2|0;ib=b[ka>>1]|0;gb=ib<<16>>16;if(gb&1|0)b[ka>>1]=(ib<<16>>16>0?65535:1)+gb;fa=fa+1|0}while((fa|0)!=(X|0));c[o+(mb<<2)>>2]=c[ma+(X<<2)>>2]}fa=mb+1|0;if((fa|0)==(kb|0)){W=204;break c}y=a[sb>>0]|0;mb=fa}}else{tb=rb;ub=0}while(1){mb=tf(s,r,tb,a[u+8+ub>>0]|0,ua,n,g,h,-1,0,7,f)|0;if((mb|0)>0){y=0;do{m=n+(y<<2)|0;oa=b[m>>1]|0;fa=oa<<16>>16;if(!(((oa<<16>>16>-1?fa:0-fa|0)|0)<64?(gb=b[m+2>>1]|0,ib=gb<<16>>16,((gb<<16>>16>-1?ib:0-ib|0)|0)<64):0))W=196;do if((W|0)==196){W=0;if(fa&1|0)b[m>>1]=(oa<<16>>16>0?65535:1)+fa;ib=m+2|0;gb=b[ib>>1]|0;ka=gb<<16>>16;if(!(ka&1))break;b[ib>>1]=(gb<<16>>16>0?65535:1)+ka}while(0);y=y+1|0}while((y|0)!=(mb|0));c[o+(ub<<2)>>2]=c[ma+(mb<<2)>>2]}y=ub+1|0;if((y|0)==(kb|0)){W=204;break c}tb=a[sb>>0]|0;ub=y}}while(0);do if((W|0)==204){ub=a[f+1212>>0]|0;if(ub<<24>>24==4){sb=c[e+13576>>2]|0;if(!sb)vb=3;else vb=d[sb+7>>0]|0;sb=c[e+13580>>2]|0;if(!sb)wb=3;else wb=d[sb+7>>0]|0;sb=(vb|0)==(wb|0)?vb:(vb|0)==3?wb:(wb|0)==3?vb:3;tb=c[Ca>>2]|0;rb=e+16|0;ob=e+20|0;qb=c[rb>>2]|0;nb=c[ob>>2]|0;pb=0;do{kb=pb<<24>>24;ma=d[(kb>>1)+(tb+1902+(sb<<1))>>0]|0;y=(256-ma+(S(ma,qb)|0)|0)>>>8;if((nb|0)<0){db(q);xb=c[ob>>2]|0}else xb=nb;ma=c[q>>2]|0;X=y<<24;if(ma>>>0<X>>>0){yb=0;zb=y;Ab=ma}else{yb=1;zb=(c[rb>>2]|0)-y|0;Ab=ma-X|0}X=d[1280+zb>>0]|0;qb=zb<<X;nb=xb-X|0;c[q>>2]=Ab<<X;c[ob>>2]=nb;c[rb>>2]=qb;pb=a[27694+(yb+kb)>>0]|0}while(pb<<24>>24>0);qb=0-(pb<<24>>24)|0;rb=qb&255;nb=c[Qa>>2]|0;ob=nb+12336+(sb*12|0)+((qb&255)<<2)|0;if(!nb)Bb=rb;else{c[ob>>2]=(c[ob>>2]|0)+1;Bb=rb}}else Bb=ub;a[u+7>>0]=Bb;if((v&255)>=3){rb=(uf(s,r,a[u+1>>0]|0,u+12|0,o,o,Ta,Oa,q)|0)==0&1;ob=e+13704|0;c[ob>>2]=rb|c[ob>>2];break}ob=a[e+13544>>0]|0;rb=1<<(ob&255);nb=a[e+13545>>0]|0;qb=1<<(nb&255);c[p+4>>2]=-2147450880;tb=lb&255;kb=e+16|0;X=e+20|0;ma=n+4|0;y=nb<<24>>24==1;nb=ob<<24>>24==1;ob=e+13704|0;m=Ra?2:1;fa=0;do{oa=fa<<1;ka=0;do{gb=c[Ca>>2]|0;ib=c[kb>>2]|0;na=c[X>>2]|0;jb=0;do{hb=jb<<24>>24;cb=d[(hb>>1)+(gb+1910+(tb*3|0))>>0]|0;eb=(256-cb+(S(cb,ib)|0)|0)>>>8;if((na|0)<0){db(q);Cb=c[X>>2]|0}else Cb=na;cb=c[q>>2]|0;bb=eb<<24;if(cb>>>0<bb>>>0){Db=0;Eb=eb;Fb=cb}else{Db=1;Eb=(c[kb>>2]|0)-eb|0;Fb=cb-bb|0}bb=d[1280+Eb>>0]|0;ib=Eb<<bb;na=Cb-bb|0;c[q>>2]=Fb<<bb;c[X>>2]=na;c[kb>>2]=ib;jb=a[27682+(Db+hb)>>0]|0}while(jb<<24>>24>0);ib=ka+oa|0;na=jb<<24>>24;gb=c[Qa>>2]|0;hb=gb+12384+(tb<<4)+(0-na<<2)|0;if(gb|0)c[hb>>2]=(c[hb>>2]|0)+1;Gb=10-na&255;d:do if((Gb&-2)<<24>>24==10){na=Gb<<24>>24==10;switch(ib|0){case 0:{hb=0;do{c[p+(hb<<2)>>2]=c[n+((tf(s,r,Gb,a[(c[c[t>>2]>>2]|0)+8+hb>>0]|0,ua,n,g,h,0,1,0,0)|0)+-1<<2)>>2];hb=hb+1|0}while((hb|0)!=(m|0));break}case 3:{if(na){hb=0;while(1){gb=c[c[t>>2]>>2]|0;tf(s,r,10,a[gb+8+hb>>0]|0,ua,n,g,h,3,1,0,0)|0;c[p+(hb<<2)>>2]=c[gb+48+(hb<<2)>>2];hb=hb+1|0;if((hb|0)==(m|0))break d}}else Hb=0;do{hb=c[c[t>>2]>>2]|0;tf(s,r,Gb,a[hb+8+Hb>>0]|0,ua,n,g,h,3,1,0,0)|0;gb=c[hb+36+(Hb<<2)>>2]|0;bb=c[hb+24+(Hb<<2)>>2]|0;cb=c[n>>2]|0;eb=c[ma>>2]|0;fb=p+(Hb<<2)|0;c[fb>>2]=0;do if((c[hb+48+(Hb<<2)>>2]|0)==(gb|0)){if((gb|0)!=(bb|0)){Ib=bb;W=245;break}if((gb|0)!=(cb|0)){Ib=cb;W=245;break}if((gb|0)!=(eb|0)){Ib=eb;W=245}}else{Ib=gb;W=245}while(0);if((W|0)==245){W=0;c[fb>>2]=Ib}Hb=Hb+1|0}while((Hb|0)!=(m|0));break}default:{if((ib+-1|0)>>>0<2)Jb=0;else{gb=0;while(1){tf(s,r,Gb,a[(c[c[t>>2]>>2]|0)+8+gb>>0]|0,ua,n,g,h,ib,1,0,0)|0;gb=gb+1|0;if((gb|0)==(m|0))break d}}do{gb=c[c[t>>2]>>2]|0;eb=tf(s,r,Gb,a[gb+8+Jb>>0]|0,ua,n,g,h,ib,1,0,0)|0;cb=p+(Jb<<2)|0;e:do if(na)c[cb>>2]=c[gb+24+(Jb<<2)>>2];else{c[cb>>2]=0;if((eb|0)<=0)break;bb=c[gb+24+(Jb<<2)>>2]|0;hb=0;while(1){Kb=c[n+(hb<<2)>>2]|0;hb=hb+1|0;if((bb|0)!=(Kb|0))break;if((hb|0)>=(eb|0))break e}c[cb>>2]=Kb}while(0);Jb=Jb+1|0}while((Jb|0)!=(m|0))}}}while(0);jb=u+20+(ib*12|0)|0;if(!(uf(s,r,Gb,u+20+(ib*12|0)+4|0,o,p,Ta,Oa,q)|0)){W=250;break}if(y){na=u+20+((ib+2|0)*12|0)|0;c[na>>2]=c[jb>>2];c[na+4>>2]=c[jb+4>>2];c[na+8>>2]=c[jb+8>>2]}if(nb){na=u+20+((ib+1|0)*12|0)|0;c[na>>2]=c[jb>>2];c[na+4>>2]=c[jb+4>>2];c[na+8>>2]=c[jb+8>>2]}ka=ka+rb|0}while((ka|0)<2);if((W|0)==250){W=0;c[ob>>2]=c[ob>>2]|1}fa=fa+qb|0}while((fa|0)<2);a[u+1>>0]=Gb;fa=u+60|0;qb=c[fa+4>>2]|0;ob=u+12|0;c[ob>>2]=c[fa>>2];c[ob+4>>2]=qb}while(0)}if((j|0)<=0){l=k;return}Gb=u+8|0;W=u+12|0;if((i|0)>0){Lb=z;Mb=0}else{l=k;return}while(1){z=0;do{Oa=Lb+(z*12|0)+8|0;Ta=d[Gb>>0]|d[Gb+1>>0]<<8;a[Oa>>0]=Ta;a[Oa+1>>0]=Ta>>8;Ta=W;Oa=c[Ta+4>>2]|0;p=Lb+(z*12|0)|0;c[p>>2]=c[Ta>>2];c[p+4>>2]=Oa;z=z+1|0}while((z|0)!=(i|0));Mb=Mb+1|0;if((Mb|0)==(j|0))break;else Lb=Lb+((c[w>>2]|0)*12|0)|0}l=k;return}Lb=c[e+13580>>2]|0;Mb=c[e+13576>>2]|0;W=a[u>>0]|0;Gb=(S(x,g)|0)+h|0;f:do if(a[f+4412>>0]|0){if(!(a[f+4413>>0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24;xc=d[(mc>>1)+(27526+(Mb*9|0))>>0]|0;Ac=(256-xc+(S(xc,$b)|0)|0)>>>8;if((Zb|0)<0){db(q);Bc=c[dc>>2]|0;Cc=c[bc>>2]|0}else{Bc=ac;Cc=Zb}xc=Ac<<24;if(Bc>>>0<xc>>>0){Dc=0;Ec=Ac;Fc=Bc}else{Dc=1;Ec=(c[cc>>2]|0)-Ac|0;Fc=Bc-xc|0}xc=d[1280+Ec>>0]|0;$b=Ec<<xc;ac=Fc<<xc;Zb=Cc-xc|0;c[dc>>2]=ac;c[bc>>2]=Zb;c[cc>>2]=$b;_b=a[27664+(Dc+mc)>>0]|0}while(_b<<24>>24>0);a[u+6>>0]=0-(_b&255);l=k;return}function qf(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(a[b+3980>>0]|0?c[b+4060+(f<<2)>>2]&8|0:0){h=1;return h|0}f=c[e+296>>2]|0;i=c[e+300>>2]|0;if(!i)j=0;else j=a[i+3>>0]|0;if(!f)k=0;else k=a[f+3>>0]|0;f=k+j|0;j=d[(c[b+4108>>2]|0)+1967+f>>0]|0;b=g+4|0;k=(256-j+(S(c[b>>2]|0,j)|0)|0)>>>8;j=g+8|0;i=c[j>>2]|0;if((i|0)<0){db(g);l=c[j>>2]|0}else l=i;i=c[g>>2]|0;m=k<<24;if(i>>>0<m>>>0){n=0;o=k;p=i}else{n=1;o=(c[b>>2]|0)-k|0;p=i-m|0}m=d[1280+o>>0]|0;c[g>>2]=p<<m;c[j>>2]=l-m;c[b>>2]=o<<m;m=c[e+268>>2]|0;e=m+12776+(f<<3)+(n<<2)|0;if(!m){h=n;return h|0}c[e>>2]=(c[e>>2]|0)+1;h=n;return h|0}function rf(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;h=c[b+616>>2]|0;i=a[c[c[e+292>>2]>>2]>>0]|0;j=a[29312+(i&255)>>0]|0;if(!((f|0)!=0&(h|0)==4&(i&255)>2)){i=a[29325+h>>0]|0;k=(j&255)<(i&255)?j:i;return k|0}i=c[e+268>>2]|0;h=c[e+296>>2]|0;f=c[e+300>>2]|0;e=j&255;l=(f|0)!=0;m=(h|0)!=0;if(l?(a[f+3>>0]|0)==0:0)n=d[f+2>>0]|0;else n=e;if(m?(a[h+3>>0]|0)==0:0)o=d[h+2>>0]|0;else o=e;h=m?o:n;o=((l?n:h)+h|0)>>>0>e>>>0&1;e=c[b+4108>>2]|0;switch(j<<24>>24){case 1:{p=e+1965+o|0;break}case 2:{p=e+1961+(o<<1)|0;break}case 3:{p=e+1955+(o*3|0)|0;break}default:p=0}e=d[p>>0]|0;b=g+4|0;h=(256-e+(S(c[b>>2]|0,e)|0)|0)>>>8;e=g+8|0;n=c[e>>2]|0;if((n|0)<0){db(g);q=c[e>>2]|0}else q=n;n=c[g>>2]|0;l=h<<24;if(n>>>0<l>>>0){r=0;s=h;t=n}else{r=1;s=(c[b>>2]|0)-h|0;t=n-l|0}l=d[1280+s>>0]|0;n=s<<l;s=t<<l;t=q-l|0;c[g>>2]=s;c[e>>2]=t;c[b>>2]=n;if((j&255)>1&(r|0)!=0){l=d[p+1>>0]|0;q=(256-l+(S(l,n)|0)|0)>>>8;if((t|0)<0){db(g);u=c[g>>2]|0;v=c[e>>2]|0}else{u=s;v=t}t=q<<24;if(u>>>0<t>>>0){w=0;x=q;y=u}else{w=1;x=(c[b>>2]|0)-q|0;y=u-t|0}t=d[1280+x>>0]|0;u=x<<t;x=y<<t;y=v-t|0;c[g>>2]=x;c[e>>2]=y;c[b>>2]=u;t=w+r|0;if((j&255)>2&(t|0)!=1){w=d[p+2>>0]|0;p=(256-w+(S(w,u)|0)|0)>>>8;if((y|0)<0){db(g);z=c[g>>2]|0;A=c[e>>2]|0}else{z=x;A=y}y=p<<24;if(z>>>0<y>>>0){B=0;C=p;D=z}else{B=1;C=(c[b>>2]|0)-p|0;D=z-y|0}y=d[1280+C>>0]|0;c[g>>2]=D<<y;c[e>>2]=A-y;c[b>>2]=C<<y;E=B+t|0}else E=t}else E=r;if(i|0){switch(j<<24>>24){case 1:{F=i+12744+(o<<3)|0;break}case 2:{F=i+12720+(o*12|0)|0;break}case 3:{F=i+12688+(o<<4)|0;break}default:F=0}o=F+(E<<2)|0;c[o>>2]=(c[o>>2]|0)+1}k=E&255;return k|0}function sf(a,b){a=a|0;b=b|0;return}function tf(e,f,g,h,i,j,k,l,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0;if(!(c[e+748>>2]|0))q=0;else q=(c[(c[e+292>>2]|0)+4>>2]|0)+((S(c[e+608>>2]|0,k)|0)*12|0)+(l*12|0)|0;r=g<<24>>24!=11;s=j;c[s>>2]=0;c[s+4>>2]=0;a:do if(n){s=e+600|0;t=f+280|0;u=f+284|0;v=f+292|0;w=f+288|0;x=(m|0)>-1;y=c[i>>2]|0;z=y+k|0;A=(z|0)<0;do if(x){do if((!A?(B=c[i+4>>2]|0,C=B+l|0,(z|0)<(c[s>>2]|0)?(C|0)>=(c[t>>2]|0):0):0)?(C|0)<(c[u>>2]|0):0){C=c[(c[v>>2]|0)+((S(c[w>>2]|0,y)|0)+B<<2)>>2]|0;if((a[C+8>>0]|0)==h<<24>>24){if((d[C>>0]|0)<3)D=C+20+((c[21212+(m<<3)+(((B|0)==0&1)<<2)>>2]|0)*12|0)+4|0;else D=C+12|0;E=c[D>>2]|0;c[j>>2]=E;if(r){F=1;break a}else{G=E;H=1;I=1;break}}if((a[C+9>>0]|0)==h<<24>>24){if((d[C>>0]|0)<3)J=C+20+((c[21212+(m<<3)+(((B|0)==0&1)<<2)>>2]|0)*12|0)+8|0;else J=C+16|0;C=c[J>>2]|0;c[j>>2]=C;if(r){F=1;break a}else{G=C;H=1;I=1}}else{G=0;H=1;I=0}}else{G=0;H=0;I=0}while(0);C=c[i+8>>2]|0;B=C+k|0;if((B|0)<0){K=G;L=H;M=2;N=I;O=22;break a}E=i+12|0;P=c[E>>2]|0;Q=P+l|0;if(!((B|0)<(c[s>>2]|0)?(Q|0)>=(c[t>>2]|0):0)){K=G;L=H;M=2;N=I;O=22;break a}if((Q|0)>=(c[u>>2]|0)){K=G;L=H;M=2;N=I;O=22;break a}Q=c[(c[v>>2]|0)+((S(c[w>>2]|0,C)|0)+P<<2)>>2]|0;if((a[Q+8>>0]|0)==h<<24>>24){C=(d[Q>>0]|0)<3;if(!I){if(C)R=Q+20+((c[21212+(m<<3)+(((P|0)==0&1)<<2)>>2]|0)*12|0)+4|0;else R=Q+12|0;B=c[R>>2]|0;c[j>>2]=B;if(r){F=1;break a}else{T=B;O=20;break}}else{if(C)U=Q+20+((c[21212+(m<<3)+(((P|0)==0&1)<<2)>>2]|0)*12|0)+4|0;else U=Q+12|0;if((c[U>>2]|0)==(G|0)){K=G;L=1;M=2;N=1;O=22;break a}else{V=E;W=Q;O=39;break}}}if((a[Q+9>>0]|0)!=h<<24>>24){K=G;L=1;M=2;N=I;O=22;break a}C=(d[Q>>0]|0)<3;if(!I){if(C)X=Q+20+((c[21212+(m<<3)+(((P|0)==0&1)<<2)>>2]|0)*12|0)+8|0;else X=Q+16|0;B=c[X>>2]|0;c[j>>2]=B;if(r){F=1;break a}else{T=B;O=20;break}}else{if(C)Y=Q+20+((c[21212+(m<<3)+(((P|0)==0&1)<<2)>>2]|0)*12|0)+8|0;else Y=Q+16|0;if((c[Y>>2]|0)==(G|0)){K=G;L=1;M=2;N=1;O=22;break a}else{Z=E;_=Q;O=46;break}}}else{do if((!A?(Q=c[i+4>>2]|0,E=Q+l|0,(z|0)<(c[s>>2]|0)?(E|0)>=(c[t>>2]|0):0):0)?(E|0)<(c[u>>2]|0):0){E=c[(c[v>>2]|0)+((S(c[w>>2]|0,y)|0)+Q<<2)>>2]|0;if((a[E+8>>0]|0)==h<<24>>24){Q=c[E+12>>2]|0;c[j>>2]=Q;if(r){F=1;break a}else{$=Q;aa=1;ba=1;break}}if((a[E+9>>0]|0)==h<<24>>24){Q=c[E+16>>2]|0;c[j>>2]=Q;if(r){F=1;break a}else{$=Q;aa=1;ba=1}}else{$=0;aa=1;ba=0}}else{$=0;aa=0;ba=0}while(0);Q=c[i+8>>2]|0;E=Q+k|0;if((E|0)<0){K=$;L=aa;M=2;N=ba;O=22;break a}P=i+12|0;C=c[P>>2]|0;B=C+l|0;if(!((E|0)<(c[s>>2]|0)?(B|0)>=(c[t>>2]|0):0)){K=$;L=aa;M=2;N=ba;O=22;break a}if((B|0)>=(c[u>>2]|0)){K=$;L=aa;M=2;N=ba;O=22;break a}B=c[(c[v>>2]|0)+((S(c[w>>2]|0,Q)|0)+C<<2)>>2]|0;if((a[B+8>>0]|0)==h<<24>>24){C=c[B+12>>2]|0;if(!ba){c[j>>2]=C;if(r){F=1;break a}else{T=C;O=20;break}}if((C|0)==($|0)){K=$;L=1;M=2;N=1;O=22;break a}if(x){V=P;W=B;O=39;break}else{ca=B;O=41;break}}if((a[B+9>>0]|0)!=h<<24>>24){K=$;L=1;M=2;N=ba;O=22;break a}C=c[B+16>>2]|0;if(!ba){c[j>>2]=C;if(r){F=1;break a}else{T=C;O=20;break}}if((C|0)==($|0)){K=$;L=1;M=2;N=1;O=22;break a}if(x){Z=P;_=B;O=46}else{da=B;O=48}}while(0);if((O|0)==20){ea=T;fa=1;ga=2;ha=f+292|0;ia=f+284|0;ja=f+280|0;ka=e+600|0;la=f+288|0;ma=1;O=21;break}else if((O|0)==39)if((d[W>>0]|0)<3){na=W+20+((c[21212+(m<<3)+(((c[V>>2]|0)==0&1)<<2)>>2]|0)*12|0)+4|0;O=42}else{ca=W;O=41}else if((O|0)==46)if((d[_>>0]|0)<3){oa=_+20+((c[21212+(m<<3)+(((c[Z>>2]|0)==0&1)<<2)>>2]|0)*12|0)+8|0;O=49}else{da=_;O=48}if((O|0)==41){na=ca+12|0;O=42}else if((O|0)==48){oa=da+16|0;O=49}if((O|0)==42){c[j+4>>2]=c[na>>2];F=2;break}else if((O|0)==49){c[j+4>>2]=c[oa>>2];F=2;break}}else{K=0;L=0;M=0;N=0;O=22}while(0);b:do if((O|0)==22){oa=e+600|0;na=f+280|0;da=f+284|0;ca=f+292|0;_=f+288|0;if(r){Z=(N|0)==0;m=(N|0)==0;W=K;V=L;T=M;c:while(1){$=c[i+(T<<3)>>2]|0;ba=$+k|0;do if(((ba|0)>=0?(aa=c[i+(T<<3)+4>>2]|0,G=aa+l|0,(ba|0)<(c[oa>>2]|0)?(G|0)>=(c[na>>2]|0):0):0)?(G|0)<(c[da>>2]|0):0){G=c[(c[ca>>2]|0)+((S(c[_>>2]|0,$)|0)+aa<<2)>>2]|0;if((a[G+8>>0]|0)==h<<24>>24){aa=G+12|0;if(Z){pa=aa;break c}Y=c[aa>>2]|0;if((Y|0)==(K|0)){qa=K;ra=1;break}else{sa=Y;ta=N;O=58;break b}}if((a[G+9>>0]|0)==h<<24>>24){Y=G+16|0;if(m){pa=Y;break c}G=c[Y>>2]|0;if((G|0)!=(W|0)){ua=G;va=N;O=63;break b}else{qa=W;ra=1}}else{qa=W;ra=1}}else{qa=W;ra=V}while(0);T=T+1|0;if((T|0)>=8){wa=ra;xa=N;O=66;break b}else{W=qa;V=ra}}c[j+(N<<2)>>2]=c[pa>>2];F=1}else{ea=K;fa=L;ga=M;ha=ca;ia=da;ja=na;ka=oa;la=_;ma=N;O=21}}while(0);d:do if((O|0)==21){N=ea;M=ea;L=fa;K=ga;pa=ma;while(1){ra=c[i+(K<<3)>>2]|0;qa=ra+k|0;do if(((qa|0)>=0?(V=c[i+(K<<3)+4>>2]|0,W=V+l|0,(qa|0)<(c[ka>>2]|0)?(W|0)>=(c[ja>>2]|0):0):0)?(W|0)<(c[ia>>2]|0):0){W=c[(c[ha>>2]|0)+((S(c[la>>2]|0,ra)|0)+V<<2)>>2]|0;if((a[W+8>>0]|0)==h<<24>>24){V=c[W+12>>2]|0;if(pa)if((V|0)==(N|0)){ya=M;Aa=N;Ba=1;Ca=pa;break}else{sa=V;ta=pa;O=58;break d}else{c[j>>2]=V;ya=V;Aa=V;Ba=1;Ca=1;break}}if((a[W+9>>0]|0)==h<<24>>24){V=c[W+16>>2]|0;if(pa)if((V|0)==(M|0)){ya=M;Aa=M;Ba=1;Ca=pa;break}else{ua=V;va=pa;O=63;break d}else{c[j>>2]=V;ya=V;Aa=V;Ba=1;Ca=1;break}}else{ya=M;Aa=N;Ba=1;Ca=pa}}else{ya=M;Aa=N;Ba=L;Ca=pa}while(0);K=K+1|0;if((K|0)>=8){wa=Ba;xa=Ca;O=66;break}else{N=Aa;M=ya;L=Ba;pa=Ca}}}while(0);e:do if((O|0)==58){c[j+(ta<<2)>>2]=sa;Da=ta;O=110}else if((O|0)==63){c[j+(va<<2)>>2]=ua;Da=va;O=110}else if((O|0)==66){Ca=(q|0)!=0;do if(Ca){if((o|0)!=0&(c[e+4096>>2]|0)!=0)za[o&7](p,k);if((a[q+8>>0]|0)==h<<24>>24){if(!xa){c[j>>2]=c[q>>2];if(r){F=1;break e}else{Ea=1;break}}Ba=c[q>>2]|0;if((Ba|0)==(c[j>>2]|0)){Ea=xa;break}c[j+(xa<<2)>>2]=Ba;Da=xa;O=110;break e}if((a[q+9>>0]|0)==h<<24>>24){Ba=q+4|0;if(!xa){c[j>>2]=c[Ba>>2];if(r){F=1;break e}else{Ea=1;break}}ya=c[Ba>>2]|0;if((ya|0)!=(c[j>>2]|0)){c[j+(xa<<2)>>2]=ya;Da=xa;O=110;break e}else Ea=xa}else Ea=xa}else Ea=xa;while(0);f:do if(wa){ya=e+600|0;Ba=f+280|0;Aa=f+284|0;la=f+292|0;ha=f+288|0;ia=e+3924+(h<<24>>24<<2)|0;ja=0;ka=Ea;g:while(1){ma=c[i+(ja<<3)>>2]|0;ga=ma+k|0;do if((((ga|0)>=0?(fa=c[i+(ja<<3)+4>>2]|0,ea=fa+l|0,(ga|0)<(c[ya>>2]|0)?(ea|0)>=(c[Ba>>2]|0):0):0)?(ea|0)<(c[Aa>>2]|0):0)?(ea=c[(c[la>>2]|0)+((S(c[ha>>2]|0,ma)|0)+fa<<2)>>2]|0,fa=a[ea+8>>0]|0,fa<<24>>24>0):0){do if(fa<<24>>24!=h<<24>>24){pa=ea+12|0;L=b[pa>>1]|0;M=b[pa+2>>1]|0;pa=(c[e+3924+(fa<<24>>24<<2)>>2]|0)==(c[ia>>2]|0);Fa=((pa?M:0-(M&65535)&65535)&65535)<<16|(pa?L:0-(L&65535)&65535)&65535;if(!ka){c[j>>2]=Fa;if(r){F=1;break e}else{Ga=1;break}}else if((Fa|0)==(c[j>>2]|0)){Ga=ka;break}else{O=88;break g}}else Ga=ka;while(0);fa=a[ea+9>>0]|0;if(!(fa<<24>>24<1?1:fa<<24>>24==h<<24>>24)?(L=c[ea+16>>2]|0,(L|0)!=(c[ea+12>>2]|0)):0){pa=b[ea+16+2>>1]|0;M=(c[e+3924+(fa<<24>>24<<2)>>2]|0)==(c[ia>>2]|0);Ha=((M?pa:0-(pa&65535)&65535)&65535)<<16|(M?L:0-L|0)&65535;if(!Ga){c[j>>2]=Ha;if(r){F=1;break e}else{Ia=1;break}}else if((Ha|0)==(c[j>>2]|0)){Ia=Ga;break}else{O=94;break g}}else Ia=Ga}else Ia=ka;while(0);ja=ja+1|0;if((ja|0)>=8){Ja=Ia;break f}else ka=Ia}if((O|0)==88){c[j+(ka<<2)>>2]=Fa;Da=ka;O=110;break e}else if((O|0)==94){c[j+(Ga<<2)>>2]=Ha;Da=Ga;O=110;break e}}else Ja=Ea;while(0);do if(Ca){ja=a[q+8>>0]|0;ia=h<<24>>24;do if(ja<<24>>24>0?ja<<24>>24!=h<<24>>24:0){ha=b[q>>1]|0;la=b[q+2>>1]|0;Aa=(c[e+3924+(ja<<24>>24<<2)>>2]|0)==(c[e+3924+(ia<<2)>>2]|0);Ba=Aa?la:0-(la&65535)&65535;la=Aa?ha:0-(ha&65535)&65535;if(!Ja){b[j>>1]=la;b[j+2>>1]=Ba;if(r){F=1;break e}else{Ka=1;break}}if(((Ba&65535)<<16|la&65535|0)!=(c[j>>2]|0)){ha=j+(Ja<<2)|0;b[ha>>1]=la;b[ha+2>>1]=Ba;Da=Ja;O=110;break e}else Ka=Ja}else Ka=Ja;while(0);ja=a[q+9>>0]|0;ka=ja<<24>>24;if(!(ja<<24>>24<1?1:ja<<24>>24==h<<24>>24)?(ja=q+4|0,Ba=c[ja>>2]|0,(Ba|0)!=(c[q>>2]|0)):0){ha=b[ja+2>>1]|0;ja=(c[e+3924+(ka<<2)>>2]|0)==(c[e+3924+(ia<<2)>>2]|0);ka=ja?ha:0-(ha&65535)&65535;ha=ja?Ba:0-Ba|0;Ba=ha&65535;if(!Ka){b[j>>1]=Ba;b[j+2>>1]=ka;if(r){F=1;break e}else break}if(((ka&65535)<<16|ha&65535|0)!=(c[j>>2]|0)){ha=j+(Ka<<2)|0;b[ha>>1]=Ba;b[ha+2>>1]=ka;Da=Ka;O=110;break e}}}while(0);F=g<<24>>24==11?2:1}while(0);if((O|0)==110){O=Da+1|0;if((Da|0)>-1)F=O;else{La=O;return La|0}}O=(c[f+316>>2]|0)+-128|0;Da=(c[f+320>>2]|0)+128|0;g=(c[f+324>>2]|0)+-128|0;Ka=(c[f+328>>2]|0)+128|0;f=0;do{r=j+(f<<2)|0;e=r+2|0;q=b[e>>1]|0;b[e>>1]=(q|0)<(O|0)?O:(q|0)>(Da|0)?Da:q;q=b[r>>1]|0;b[r>>1]=(q|0)<(g|0)?g:(q|0)>(Ka|0)?Ka:q;f=f+1|0}while((f|0)!=(F|0));La=F;return La|0}function uf(f,g,h,i,j,k,m,n,o){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;p=l;l=l+16|0;q=p;switch(h<<24>>24){case 13:{h=c[g+268>>2]|0;g=h|0?h+12800|0:0;if((m|0)<0){r=1;l=p;return r|0}h=f+4108|0;f=o+4|0;s=o+8|0;t=(n|0)==0;n=q+2|0;u=0;v=1;while(1){w=i+(u<<2)|0;x=j+(u<<2)|0;y=c[h>>2]|0;z=c[f>>2]|0;A=c[s>>2]|0;B=0;do{C=B<<24>>24;D=d[(C>>1)+(y+1970)>>0]|0;E=(256-D+(S(D,z)|0)|0)>>>8;if((A|0)<0){db(o);F=c[s>>2]|0}else F=A;D=c[o>>2]|0;G=E<<24;if(D>>>0<G>>>0){H=0;I=E;J=D}else{H=1;I=(c[f>>2]|0)-E|0;J=D-G|0}G=d[1280+I>>0]|0;z=I<<G;A=F-G|0;c[o>>2]=J<<G;c[s>>2]=A;c[f>>2]=z;B=a[27928+(H+C)>>0]|0}while(B<<24>>24>0);z=0-(B<<24>>24)|0;if(!t?(A=b[x>>1]|0,C=A<<16>>16,((A<<16>>16>-1?C:0-C|0)|0)<64):0){C=b[x+2>>1]|0;A=C<<16>>16;K=((C<<16>>16>-1?A:0-A|0)|0)<64}else K=0;A=K&1;c[q>>2]=0;if((z|1|0)==3)b[q>>1]=vf(o,y+1973|0,A)|0;if((z|2|0)==3)b[n>>1]=vf(o,y+2006|0,A)|0;Hd(q,g);A=(e[q>>1]|0)+(e[x>>1]|0)&65535;b[w>>1]=A;z=(e[n>>1]|0)+(e[x+2>>1]|0)&65535;b[w+2>>1]=z;if((v|0)!=0&(A+16383&65535)<32766)L=(z+16383&65535)<32766;else L=0;z=L&1;if((u|0)==(m|0)){r=z;break}else{u=u+1|0;v=z}}l=p;return r|0}case 10:case 11:{v=k;k=c[v+4>>2]|0;u=i;c[u>>2]=c[v>>2];c[u+4>>2]=k;r=1;l=p;return r|0}case 12:{k=i;c[k>>2]=0;c[k+4>>2]=0;r=1;l=p;return r|0}default:{r=0;l=p;return r|0}}return 0}function vf(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;g=d[e>>0]|0;h=b+4|0;i=(256-g+(S(c[h>>2]|0,g)|0)|0)>>>8;g=b+8|0;j=c[g>>2]|0;if((j|0)<0){db(b);k=c[g>>2]|0}else k=j;j=c[b>>2]|0;l=i<<24;if(j>>>0<l>>>0){m=0;n=i;o=j}else{m=1;n=(c[h>>2]|0)-i|0;o=j-l|0}l=d[1280+n>>0]|0;j=n<<l;n=o<<l;o=k-l|0;c[b>>2]=n;c[g>>2]=o;c[h>>2]=j;l=n;n=j;j=o;o=0;do{k=o<<24>>24;i=d[(k>>1)+(e+1)>>0]|0;p=(256-i+(S(i,n)|0)|0)>>>8;if((j|0)<0){db(b);q=c[b>>2]|0;r=c[g>>2]|0}else{q=l;r=j}i=p<<24;if(q>>>0<i>>>0){s=0;t=p;u=q}else{s=1;t=(c[h>>2]|0)-p|0;u=q-i|0}i=d[1280+t>>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=0?(c[Y+12+(_*160|0)>>2]|0)>=1:0)){c[M>>2]=_;Sa(R,5,30043,M)}ba=e+988|0;ca=c[ba>>2]|0;if((ca|0)>-1?(da=Y+12+(ca*160|0)|0,ca=c[da>>2]|0,(ca|0)>0):0)c[da>>2]=ca+-1;c[ba>>2]=_;ca=Y+12+(_*160|0)|0;c[ca>>2]=(c[ca>>2]|0)+1;c[e+17860>>2]=0;c[e+4372>>2]=0;c[e+1e3>>2]=1;if(!(c[e+17864>>2]|0)){ea=ba;fa=0}else{c[e+764>>2]=c[e+732>>2];c[e+768>>2]=c[e+736>>2];c[e+772>>2]=c[e+740>>2];c[e+776>>2]=c[e+744>>2];c[e+780>>2]=c[e+748>>2];c[e+784>>2]=c[e+752>>2];c[e+788>>2]=c[e+756>>2];c[e+792>>2]=c[e+760>>2];ea=ba;fa=0}}else{c[X>>2]=gb(P)|0;ba=e+1e3|0;c[ba>>2]=gb(P)|0;ca=gb(P)|0;_=e+17792|0;c[_>>2]=ca;do if(!(c[X>>2]|0)){if(!(((hb(P,8)|0)==73?(hb(P,8)|0)==131:0)?(hb(P,8)|0)==66:0))Sa(R,5,30086,L);Bf(R,P);c[e+17860>>2]=255;c[e+796>>2]=-1;c[e+800>>2]=0;c[e+860>>2]=-1;c[e+864>>2]=0;c[e+924>>2]=-1;c[e+928>>2]=0;Cf(R,P);da=e+18720|0;if(!(c[da>>2]|0))ga=0;else{ha=e+732|0;c[ha>>2]=-1;c[ha+4>>2]=-1;c[ha+8>>2]=-1;c[ha+12>>2]=-1;c[ha+16>>2]=-1;c[ha+20>>2]=-1;c[ha+24>>2]=-1;c[ha+28>>2]=-1;c[da>>2]=0;ga=0}}else{if(!(c[ba>>2]|0)){da=gb(P)|0;ia=c[_>>2]|0;ja=da}else{ia=ca;ja=0}da=ja&255;a[T>>0]=da;if(!ia){ha=hb(P,2)|0;ka=a[T>>0]|0;la=ha}else{ka=da;la=0}c[e+1020>>2]=la;if(ka<<24>>24){if(!(((hb(P,8)|0)==73?(hb(P,8)|0)==131:0)?(hb(P,8)|0)==66:0))Sa(R,5,30086,K);if(!(c[$>>2]|0)){c[e+680>>2]=1;c[e+684>>2]=0;c[e+712>>2]=1;c[e+716>>2]=1;c[e+17784>>2]=8}else Bf(R,P);c[e+17860>>2]=hb(P,8)|0;Cf(R,P);da=e+18720|0;if(!(c[da>>2]|0)){ga=0;break}ha=e+732|0;c[ha>>2]=-1;c[ha+4>>2]=-1;c[ha+8>>2]=-1;c[ha+12>>2]=-1;c[ha+16>>2]=-1;c[ha+20>>2]=-1;c[ha+24>>2]=-1;c[ha+28>>2]=-1;c[da>>2]=0;ga=0;break}da=e+18720|0;if((c[da>>2]|0)==1)ga=1;else{c[e+17860>>2]=hb(P,8)|0;ha=c[e+732+((hb(P,3)|0)<<2)>>2]|0;ma=e+796|0;c[ma>>2]=ha;na=e+800|0;c[na>>2]=Y+12+(ha*160|0)+28;c[e+4360>>2]=gb(P)|0;ha=c[e+732+((hb(P,3)|0)<<2)>>2]|0;oa=e+860|0;c[oa>>2]=ha;pa=e+864|0;c[pa>>2]=Y+12+(ha*160|0)+28;c[e+4364>>2]=gb(P)|0;ha=c[e+732+((hb(P,3)|0)<<2)>>2]|0;qa=e+924|0;c[qa>>2]=ha;ra=e+928|0;c[ra>>2]=Y+12+(ha*160|0)+28;c[e+4368>>2]=gb(P)|0;ha=c[Z>>2]|0;if(gb(P)|0)if((c[ma>>2]|0)==-1){Sa(R,7,30110,J);sa=44}else{ta=0;sa=42}else sa=44;do if((sa|0)==44){if(gb(P)|0){if((c[oa>>2]|0)!=-1){ta=1;sa=42;break}Sa(R,7,30110,C)}if(gb(P)|0){if((c[qa>>2]|0)!=-1){ta=2;sa=42;break}Sa(R,7,30110,B)}ua=(hb(P,16)|0)+1|0;va=(hb(P,16)|0)+1|0;wa=ua}while(0);if((sa|0)==42){ua=c[e+796+(ta<<6)+4>>2]|0;va=c[ua+12>>2]|0;wa=c[ua+8>>2]|0}if((wa|0)<1|(va|0)<1)S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Ja>>2]=c[Ca>>2];if(gb(P)|0){c[ua>>2]=(hb(P,16)|0)+1;c[Ja>>2]=(hb(P,16)|0)+1}Ka=e+988|0;La=c[Ka>>2]|0;if(Ya((c[Z>>2]|0)+12+(La*160|0)+28|0,c[Da>>2]|0,c[Ca>>2]|0,c[Ea>>2]|0,c[xa>>2]|0,32,c[e+17808>>2]|0,ha+12+(La*160|0)+16|0,c[ha+4>>2]|0,c[ha>>2]|0)|0)Sa(R,2,30238,F);La=c[Ka>>2]|0;c[ha+12+(La*160|0)+112>>2]=c[Ea>>2];c[ha+12+(La*160|0)+116>>2]=c[xa>>2];c[ha+12+(La*160|0)+120>>2]=c[za>>2];c[ha+12+(La*160|0)+124>>2]=c[e+680>>2];c[ha+12+(La*160|0)+128>>2]=c[e+684>>2];c[ha+12+(La*160|0)+132>>2]=c[ua>>2];c[ha+12+(La*160|0)+136>>2]=c[Ja>>2];c[e+1016>>2]=gb(P)|0;if(!(gb(P)|0))Ma=a[30270+(hb(P,2)|0)>>0]|0;else Ma=4;a[e+1212>>0]=Ma;Ja=c[na>>2]|0;de(e+804|0,c[Ja+8>>2]|0,c[Ja+12>>2]|0,c[Da>>2]|0,c[Ca>>2]|0);Ja=c[pa>>2]|0;de(e+868|0,c[Ja+8>>2]|0,c[Ja+12>>2]|0,c[Da>>2]|0,c[Ca>>2]|0);Ja=c[ra>>2]|0;de(e+932|0,c[Ja+8>>2]|0,c[Ja+12>>2]|0,c[Da>>2]|0,c[Ca>>2]|0);ga=c[da>>2]|0}}while(0);ca=e+988|0;ba=c[ca>>2]|0;Ca=c[Z>>2]|0;c[Ca+12+(ba*160|0)+124>>2]=c[e+680>>2];c[Ca+12+(ba*160|0)+128>>2]=c[e+684>>2];c[Ca+12+(ba*160|0)+132>>2]=c[e+696>>2];c[Ca+12+(ba*160|0)+136>>2]=c[e+700>>2];if(ga|0)Sa(R,7,30274,A);if(!(c[_>>2]|0)){c[e+4352>>2]=gb(P)|0;ba=gb(P)|0;c[e+17796>>2]=ba;if(!ba)qh(e+4552|0,0,13224)|0}else{c[e+4352>>2]=0;c[e+17796>>2]=1}c[e+4548>>2]=hb(P,2)|0;ba=c[e+17860>>2]|0;if(ba){Ca=ba;ba=0;do{if(!(Ca&1)){Da=c[e+732+(ba<<2)>>2]|0;c[e+764+(ba<<2)>>2]=Da;Na=Da}else{c[e+764+(ba<<2)>>2]=c[ca>>2];Da=Y+12+((c[ca>>2]|0)*160|0)|0;c[Da>>2]=(c[Da>>2]|0)+1;Na=c[e+732+(ba<<2)>>2]|0}Da=Y+12+(Na*160|0)|0;if((Na|0)>-1)c[Da>>2]=(c[Da>>2]|0)+1;ba=ba+1|0;Ca=Ca>>1}while((Ca|0)!=0);if((ba|0)<8){Oa=ba;sa=91}}else{Oa=0;sa=91}if((sa|0)==91)while(1){sa=0;Ca=c[e+732+(Oa<<2)>>2]|0;c[e+764+(Oa<<2)>>2]=Ca;Da=Y+12+(Ca*160|0)|0;if((Ca|0)>-1)c[Da>>2]=(c[Da>>2]|0)+1;Oa=Oa+1|0;if((Oa|0)==8)break;else sa=91}c[e+18724>>2]=1;if(!(((c[X>>2]|0)!=0?(a[T>>0]|0)==0:0)?!(c[_>>2]|0):0))Gd(R);c[e+4372>>2]=hb(P,6)|0;c[e+4380>>2]=hb(P,3)|0;ba=e+4389|0;a[ba>>0]=0;Da=(gb(P)|0)&255;a[e+4388>>0]=Da;if(Da<<24>>24?(Da=(gb(P)|0)&255,a[ba>>0]=Da,Da<<24>>24):0){if(gb(P)|0)a[e+4390>>0]=ib(P,6)|0;if(gb(P)|0)a[e+4391>>0]=ib(P,6)|0;if(gb(P)|0)a[e+4392>>0]=ib(P,6)|0;if(gb(P)|0)a[e+4393>>0]=ib(P,6)|0;if(gb(P)|0)a[e+4398>>0]=ib(P,6)|0;if(gb(P)|0)a[e+4399>>0]=ib(P,6)|0}Da=e+1052|0;c[Da>>2]=hb(P,8)|0;if(!(gb(P)|0))Pa=0;else Pa=ib(P,4)|0;ba=e+1056|0;c[ba>>2]=Pa;if(!(gb(P)|0))Qa=0;else Qa=ib(P,4)|0;Ca=e+1060|0;c[Ca>>2]=Qa;if(!(gb(P)|0))Ra=0;else Ra=ib(P,4)|0;Ja=e+1064|0;c[Ja>>2]=Ra;La=e+17784|0;c[e+17788>>2]=c[La>>2];if((c[Da>>2]|0)==0?(c[ba>>2]|0)==0:0)Va=(c[Ca>>2]|Ra|0)==0;else Va=0;c[e+420>>2]=Va&1;ua=e+4412|0;za=e+4413|0;a[za>>0]=0;xa=e+4414|0;a[xa>>0]=0;Ea=(gb(P)|0)&255;a[ua>>0]=Ea;do if(!(Ea<<24>>24))sa=156;else{Ka=(gb(P)|0)&255;a[za>>0]=Ka;do if(Ka<<24>>24){if(!(gb(P)|0))Xa=-1;else Xa=(hb(P,8)|0)&255;a[e+4417>>0]=Xa;if(!(gb(P)|0))Za=-1;else Za=(hb(P,8)|0)&255;a[e+4418>>0]=Za;if(!(gb(P)|0))_a=-1;else _a=(hb(P,8)|0)&255;a[e+4419>>0]=_a;if(!(gb(P)|0))$a=-1;else $a=(hb(P,8)|0)&255;a[e+4420>>0]=$a;if(!(gb(P)|0))ab=-1;else ab=(hb(P,8)|0)&255;a[e+4421>>0]=ab;if(!(gb(P)|0))bb=-1;else bb=(hb(P,8)|0)&255;a[e+4422>>0]=bb;if(!(gb(P)|0))jb=-1;else jb=(hb(P,8)|0)&255;a[e+4423>>0]=jb;kb=(gb(P)|0)&255;a[e+4416>>0]=kb;if(!(kb<<24>>24)){kb=e+4424|0;a[kb>>0]=255;a[kb+1>>0]=255;a[kb+2>>0]=255;break}if(!(gb(P)|0))lb=-1;else lb=(hb(P,8)|0)&255;a[e+4424>>0]=lb;if(!(gb(P)|0))mb=-1;else mb=(hb(P,8)|0)&255;a[e+4425>>0]=mb;if(!(gb(P)|0))nb=-1;else nb=(hb(P,8)|0)&255;a[e+4426>>0]=nb}while(0);Ka=(gb(P)|0)&255;a[xa>>0]=Ka;if(Ka<<24>>24){a[e+4415>>0]=gb(P)|0;he(ua);Ka=0;do{da=0;do{do if(!(gb(P)|0))ob=0;else{ie(ua,Ka,da);ra=je(da)|0;pa=((V(ra|0)|0)^31)+1|0;na=hb(P,(ra|0)==0?0:pa)|0;pa=(na|0)>(ra|0)?ra:na;if(!(ke(da)|0)){ob=pa;break}na=(gb(P)|0)!=0;ob=na?0-pa|0:pa}while(0);le(ua,Ka,da,ob);da=da+1|0}while((da|0)!=4);Ka=Ka+1|0}while((Ka|0)!=8)}if(!(a[ua>>0]|0)){sa=156;break}else pb=0;do{Ka=Je(ua,pb,c[Da>>2]|0)|0;b[e+1068+(pb<<2)>>1]=He(Ka,c[ba>>2]|0,c[La>>2]|0)|0;b[e+1068+(pb<<2)+2>>1]=Ie(Ka,0,c[La>>2]|0)|0;b[e+1100+(pb<<2)>>1]=He(Ka,c[Ca>>2]|0,c[La>>2]|0)|0;b[e+1100+(pb<<2)+2>>1]=Ie(Ka,c[Ja>>2]|0,c[La>>2]|0)|0;pb=pb+1|0}while((pb|0)!=8)}while(0);if((sa|0)==156){ua=c[Da>>2]|0;b[e+1068>>1]=He(ua,c[ba>>2]|0,c[La>>2]|0)|0;b[e+1070>>1]=Ie(ua,0,c[La>>2]|0)|0;b[e+1100>>1]=He(ua,c[Ca>>2]|0,c[La>>2]|0)|0;b[e+1102>>1]=Ie(ua,c[Ja>>2]|0,c[La>>2]|0)|0}pe(c[e+1040>>2]|0,N,O);ua=c[N>>2]|0;xa=(c[O>>2]|0)-ua|0;za=e+17800|0;c[za>>2]=ua;a:do if(!xa)qb=ua;else{Ea=xa;while(1){Ea=Ea+-1|0;_=(gb(P)|0)==0;Ka=c[za>>2]|0;if(_){qb=Ka;break a}_=Ka+1|0;c[za>>2]=_;if(!Ea){qb=_;break}}}while(0);if((qb|0)>6)Sa(R,7,30334,z);za=gb(P)|0;xa=e+17804|0;c[xa>>2]=za;if(za|0){za=gb(P)|0;c[xa>>2]=(c[xa>>2]|0)+za}za=hb(P,16)|0;if(za|0){ea=ca;fa=za;break}Sa(R,7,30365,y);ea=ca;fa=0}while(0);y=e+17804|0;z=c[y>>2]|0;qb=1<<z;pb=e+17800|0;ob=c[pb>>2]|0;nb=1<<ob;mb=c[ea>>2]|0;lb=c[Z>>2]|0;jb=lb+12+(mb*160|0)+28|0;c[e+344>>2]=jb;if(!fa){c[h>>2]=f+((c[$>>2]|0)>>>0<3?1:2);l=i;return}$=f+(fb(P)|0)|0;if((U-$|0)>>>0<fa>>>0)Sa(R,7,30385,x);x=e+17792|0;if(((((c[x>>2]|0)==0?(c[e+688>>2]|0)==(c[e+704>>2]|0):0)?(c[e+692>>2]|0)==(c[e+708>>2]|0):0)?(a[W>>0]|0)==0:0)?(c[e+1004>>2]|0)!=0:0)rb=(c[Q>>2]|0)!=0;else rb=0;c[e+1180>>2]=rb&1;Cd(e,c[e+712>>2]|0,c[e+716>>2]|0);rb=e+4540|0;Q=e+4544|0;W=e+4548|0;vh(c[rb>>2]|0,(c[Q>>2]|0)+((c[W>>2]|0)*2044|0)|0,2044)|0;P=c[rb>>2]|0;if(!(c[P+2040>>2]|0)){Sa(R,7,30427,w);sb=c[rb>>2]|0}else sb=P;P=e+424|0;c[P>>2]=0;w=e+18708|0;if(cb(N,$,fa,c[S>>2]|0,c[w>>2]|0)|0)Sa(e+432|0,2,30458,v);v=N+4|0;f=N+8|0;if(!(c[e+420>>2]|0)){bb=c[v>>2]|0;ab=c[f>>2]|0;$a=((bb<<7)+128|0)>>>8;if((ab|0)<0){db(N);tb=c[v>>2]|0;ub=c[f>>2]|0}else{tb=bb;ub=ab}ab=c[N>>2]|0;bb=$a<<24;_a=ab>>>0<bb>>>0;Za=_a?$a:tb-$a|0;$a=d[1280+Za>>0]|0;tb=Za<<$a;Za=ab-(_a?0:bb)<<$a;bb=ub-$a|0;c[N>>2]=Za;c[f>>2]=bb;c[v>>2]=tb;$a=((tb<<7)+128|0)>>>8;if((bb|0)<0){db(N);vb=c[N>>2]|0;wb=c[v>>2]|0;xb=c[f>>2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|0)+(wb*108|0)+1|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+2|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+3|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+4|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+5|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+6|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+7|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+8|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+18|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+19|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+20|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+21|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+22|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+23|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+24|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+25|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+26|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+27|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+28|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+29|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+30|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+31|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+32|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+33|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+34|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+35|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+36|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+37|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+38|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+39|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+40|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+41|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+42|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+43|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+44|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+45|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+46|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+47|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+48|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+49|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+50|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+51|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+52|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+53|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+54|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+55|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+56|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+57|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+58|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+59|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+60|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+61|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+62|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+63|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+64|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+65|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+66|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+67|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+68|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+69|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+70|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+71|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+72|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+73|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+74|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+75|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+76|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+77|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+78|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+79|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+80|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+81|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+82|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+83|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+84|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+85|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+86|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+87|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+88|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+89|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+90|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+91|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+92|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+93|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+94|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+95|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+96|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+97|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+98|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+99|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+100|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+101|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+102|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+103|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+104|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+105|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+106|0);bg(N,sb+174+($a*432|0)+(Ab*216|0)+(wb*108|0)+107|0);wb=wb+1|0}while((wb|0)!=2);Ab=Ab+1|0}while((Ab|0)!=2)}Bb=Bb+1<<24>>24}while((Bb&255)<=(Cb&255));bg(N,sb+1967|0);bg(N,sb+1968|0);bg(N,sb+1969|0);if(c[X>>2]|0?(a[T>>0]|0)==0:0){bg(N,sb+1910|0);bg(N,sb+1911|0);bg(N,sb+1912|0);bg(N,sb+1913|0);bg(N,sb+1914|0);bg(N,sb+1915|0);bg(N,sb+1916|0);bg(N,sb+1917|0);bg(N,sb+1918|0);bg(N,sb+1919|0);bg(N,sb+1920|0);bg(N,sb+1921|0);bg(N,sb+1922|0);bg(N,sb+1923|0);bg(N,sb+1924|0);bg(N,sb+1925|0);bg(N,sb+1926|0);bg(N,sb+1927|0);bg(N,sb+1928|0);bg(N,sb+1929|0);bg(N,sb+1930|0);if((a[e+1212>>0]|0)==4){bg(N,sb+1902|0);bg(N,sb+1903|0);bg(N,sb+1904|0);bg(N,sb+1905|0);bg(N,sb+1906|0);bg(N,sb+1907|0);bg(N,sb+1908|0);bg(N,sb+1909|0)}bg(N,sb+1931|0);bg(N,sb+1932|0);bg(N,sb+1933|0);bg(N,sb+1934|0);Cb=e+4360|0;Bb=1;while(1){if((Bb|0)>=3){sa=212;break}Bb=Bb+1|0;if((c[e+4356+(Bb<<2)>>2]|0)!=(c[Cb>>2]|0)){sa=206;break}}do if((sa|0)==206){Bb=c[v>>2]|0;Eb=((Bb<<7)+128|0)>>>8;Db=c[f>>2]|0;if((Db|0)<0){db(N);Fb=c[v>>2]|0;Gb=c[f>>2]|0}else{Fb=Bb;Gb=Db}Db=c[N>>2]|0;Bb=Eb<<24;Ab=Db>>>0<Bb>>>0;$a=Ab?Eb:Fb-Eb|0;Eb=d[1280+$a>>0]|0;ca=$a<<Eb;$a=Db-(Ab?0:Bb)<<Eb;Bb=Gb-Eb|0;c[N>>2]=$a;c[f>>2]=Bb;c[v>>2]=ca;if(!Ab){Ab=((ca<<7)+128|0)>>>8;if((Bb|0)<0){db(N);Hb=c[N>>2]|0;Ib=c[v>>2]|0;Jb=c[f>>2]|0}else{Hb=$a;Ib=ca;Jb=Bb}Bb=Ab<<24;ca=Hb>>>0<Bb>>>0;$a=ca?Ab:Ib-Ab|0;Ab=d[1280+$a>>0]|0;c[N>>2]=Hb-(ca?0:Bb)<<Ab;c[f>>2]=Jb-Ab;c[v>>2]=$a<<Ab;Ab=e+4536|0;c[Ab>>2]=ca?1:2;$a=c[Cb>>2]|0;do if(($a|0)!=(c[e+4364>>2]|0)){Bb=e+4532|0;if(($a|0)==(c[e+4368>>2]|0)){a[Bb>>0]=2;Kb=1;Lb=3;break}else{a[Bb>>0]=1;Kb=2;Lb=3;break}}else{a[e+4532>>0]=3;Kb=1;Lb=2}while(0);a[e+4533>>0]=Kb;a[e+4534>>0]=Lb;$a=c[rb>>2]|0;if(ca){Mb=$a;sa=220;break}bg(N,$a+1935|0);bg(N,$a+1936|0);bg(N,$a+1937|0);bg(N,$a+1938|0);bg(N,$a+1939|0);if((c[Ab>>2]|0)==1){Mb=$a;sa=220}else{Nb=$a;Ob=Ab;sa=219}}else sa=212}while(0);if((sa|0)==212){Lb=e+4536|0;c[Lb>>2]=0;Nb=c[rb>>2]|0;Ob=Lb;sa=219}if((sa|0)==219){bg(N,Nb+1940|0);bg(N,Nb+1941|0);bg(N,Nb+1942|0);bg(N,Nb+1943|0);bg(N,Nb+1944|0);bg(N,Nb+1945|0);bg(N,Nb+1946|0);bg(N,Nb+1947|0);bg(N,Nb+1948|0);bg(N,Nb+1949|0);if(!(c[Ob>>2]|0))Pb=0;else{Mb=Nb;sa=220}}if((sa|0)==220){bg(N,Mb+1950|0);bg(N,Mb+1951|0);bg(N,Mb+1952|0);bg(N,Mb+1953|0);bg(N,Mb+1954|0);Pb=0}do{bg(N,sb+(Pb*9|0)|0);bg(N,sb+(Pb*9|0)+1|0);bg(N,sb+(Pb*9|0)+2|0);bg(N,sb+(Pb*9|0)+3|0);bg(N,sb+(Pb*9|0)+4|0);bg(N,sb+(Pb*9|0)+5|0);bg(N,sb+(Pb*9|0)+6|0);bg(N,sb+(Pb*9|0)+7|0);bg(N,sb+(Pb*9|0)+8|0);Pb=Pb+1|0}while((Pb|0)!=4);Qb=0;do{bg(N,sb+126+(Qb*3|0)|0);bg(N,sb+126+(Qb*3|0)+1|0);bg(N,sb+126+(Qb*3|0)+2|0);Qb=Qb+1|0}while((Qb|0)!=16);Qb=c[e+1016>>2]|0;Ef(sb+1970|0,3,N);Ef(sb+1973|0,1,N);Ef(sb+1974|0,10,N);Ef(sb+1984|0,1,N);Ef(sb+1985|0,10,N);Ef(sb+2006|0,1,N);Ef(sb+2007|0,10,N);Ef(sb+2017|0,1,N);Ef(sb+2018|0,10,N);Ef(sb+1995|0,3,N);Ef(sb+1998|0,3,N);Ef(sb+2001|0,3,N);Ef(sb+2028|0,3,N);Ef(sb+2031|0,3,N);Ef(sb+2034|0,3,N);if(Qb|0){Ef(sb+2004|0,1,N);Ef(sb+2005|0,1,N);Ef(sb+2037|0,1,N);Ef(sb+2038|0,1,N)}}sb=((c[f>>2]|0)+-33|0)>>>0<1073741791;c[lb+12+(mb*160|0)+140>>2]=sb&1;if(sb)Sa(R,7,30492,u);u=e+4372|0;sb=c[u>>2]|0;if(sb|0?(c[e+17812>>2]|0)==0:0)re(R,sb);sb=e+17864|0;if((c[sb>>2]|0)!=0?(c[e+17796>>2]|0)!=0:0){mb=c[(c[e+17872>>2]|0)+12>>2]|0;if(!(c[e+4352>>2]|0))Rb=0;else{vh((c[Q>>2]|0)+((c[W>>2]|0)*2044|0)|0,c[rb>>2]|0,2044)|0;Rb=1}lb=c[e+17868>>2]|0;c[lb+152>>2]=-1;c[lb+156>>2]=-1;c[mb+40>>2]=1;Sb=Rb}else Sb=0;Rb=e+17904|0;mb=c[Rb>>2]|0;lb=qb<<ob;if((mb|0)!=0?(lb|0)==(c[e+18680>>2]|0):0)Tb=e+18712|0;else{ob=e+18712|0;qb=c[ob>>2]|0;Wa(mb);mb=Ta(32,(((qb|0)>1?qb:0)+lb|0)*16016|0)|0;c[Rb>>2]=mb;if(!mb)Sa(R,2,30539,t);c[e+18680>>2]=lb;Tb=ob}ob=(nb|0)>1&((z|0)==0&(c[Tb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wb;else{sa=270;break}}do if((sa|0)==270){if((Mb|0)>1)Yb=Wb;else{Vb=Xb;break}do{Ab=Yb;Yb=Yb+-1|0;Kb=(Aa[c[Lb>>2]&7]((c[Nb>>2]|0)+(Yb*24|0)|0)|0)==0&1;c[P>>2]=Kb|c[P>>2]}while((Ab|0)>1);Vb=Xb}while(0);if(mb&(c[Ob>>2]|0)==0){Lb=e+4552|0;Mb=0;do{Ge(Lb,(c[(c[Nb>>2]|0)+(Mb*24|0)+12>>2]|0)+48|0,1);Mb=Mb+1|0}while((Mb|0)<(f|0))}c[h>>2]=Vb;if(c[P>>2]|0){Sa(R,7,30653,q);break}if(c[e+17812>>2]|0)break;De(jb,R,e,c[u>>2]|0,0,0,c[Nb>>2]|0,c[Qb>>2]|0,e+18684|0)}else{do if(c[u>>2]|0){f=e+17812|0;do if(!(c[f>>2]|0)){Mb=e+17888|0;if(c[Mb>>2]|0)break;Lb=Ta(32,284)|0;c[Mb>>2]=Lb;if(!Lb)Sa(R,2,30693,p);c[e+17884>>2]=26;if((c[Tb>>2]|0)<=1)break;if(Aa[c[fa+4>>2]&7](e+17876|0)|0)break;Sa(R,1,30733,o)}while(0);if(!(c[u>>2]|0))break;if(c[f>>2]|0)break;Lb=c[e+17888>>2]|0;Aa[c[fa+8>>2]&7](e+17876|0)|0;Ae(Lb,(c[Z>>2]|0)+12+((c[ea>>2]|0)*160|0)+28|0,R,e)}while(0);Qb=e+17844|0;qh(c[Qb>>2]|0,0,nb*6|0)|0;Nb=e+17840|0;qh(c[Nb>>2]|0,0,nb|0)|0;Be(R);Gf(e,z,g,pb,y,N);if((t|0)!=31){Lb=(lb|0)==31;Mb=e+17796|0;Ob=e+4552|0;mb=e+1100|0;Ab=e+1068|0;Kb=e+1044|0;if(!Lb){ca=0;do{Pb=ca<<lb;qb=0;do{v=(c[Rb>>2]|0)+(Pb*16016|0)+(qb*16016|0)|0;Cb=v+13280|0;vh(Cb|0,e|0,432)|0;c[Cb+424>>2]=0;c[Cb+268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2]=c[mb+24>>2];c[Gb+28>>2]=c[mb+28>>2];Gb=c[rb>>2]|0;Ib=c[Nb>>2]|0;Jb=c[Kb>>2]|0;Hb=Gb;v=(c[X>>2]|0)==0;c[Fb>>2]=Gb;c[Cb+408>>2]=Ib;c[Cb+288>>2]=Jb;c[Cb+428>>2]=R;do if(v)Zb=27616;else{if(a[T>>0]|0){Zb=27616;break}Zb=Hb+126|0}while(0);c[Cb+312>>2]=Zb;qb=qb+1|0}while((qb|0)<(pb|0));ca=ca+1|0}while((ca|0)<(y|0))}ca=O+4|0;Kb=e+17812|0;Nb=e+17876|0;mb=e+17888|0;Qb=e+1032|0;Ab=fa+8|0;Ob=fa+12|0;Mb=fa+16|0;qb=e+18716|0;Pb=pb+-1|0;f=O+8|0;Hb=O+12|0;v=0;do{me(O,R,v);Jb=c[O>>2]|0;b:do if((Jb|0)<(c[ca>>2]|0)){Ib=v<<lb;if(Lb){Gb=Jb;while(1){do if(c[u>>2]|0){if(c[Kb>>2]|0){sa=329;break}Fb=c[mb>>2]|0;if((Gb|0)<8)break;if((Gb+8|0)>=(c[Qb>>2]|0))break;Aa[c[Ab>>2]&7](Nb)|0;c[Fb+272>>2]=Gb+-8;c[Fb+276>>2]=Gb;if((c[Tb>>2]|0)>1){ya[c[Ob>>2]&15](Nb);sa=329;break}else{ya[c[Mb>>2]&15](Nb);sa=329;break}}else sa=329;while(0);do if((sa|0)==329?(sa=0,(c[sb>>2]|0)==0):0)break;while(0);Gb=Gb+8|0;if((Gb|0)>=(c[ca>>2]|0))break b}}else _b=Jb;do{Gb=0;do{Cb=(c[qb>>2]|0)==0?Gb:Pb-Gb|0;Fb=(c[Rb>>2]|0)+(Ib*16016|0)+(Cb*16016|0)|0;ne(O,R,Cb);Cb=Fb+13280|0;$a=Cb+360|0;Bb=$a+48|0;do{c[$a>>2]=0;$a=$a+4|0}while(($a|0)<(Bb|0));$a=Cb+412|0;c[$a>>2]=0;c[$a+4>>2]=0;$a=c[f>>2]|0;if(($a|0)<(c[Hb>>2]|0)){Bb=$a;do{If(Fb,e,_b,Bb,12,4);Bb=Bb+8|0}while((Bb|0)<(c[Hb>>2]|0))}Bb=c[P>>2]|c[Cb+424>>2];c[P>>2]=Bb;if(Bb|0)Sa(R,7,30843,k);Gb=Gb+1|0}while((pb|0)>(Gb|0));do if(c[u>>2]|0){if(c[Kb>>2]|0){sa=313;break}Gb=c[mb>>2]|0;if((_b|0)<8)break;if((_b+8|0)>=(c[Qb>>2]|0))break;Aa[c[Ab>>2]&7](Nb)|0;c[Gb+272>>2]=_b+-8;c[Gb+276>>2]=_b;if((c[Tb>>2]|0)>1){ya[c[Ob>>2]&15](Nb);sa=313;break}else{ya[c[Mb>>2]&15](Nb);sa=313;break}}else sa=313;while(0);do if((sa|0)==313?(sa=0,(c[sb>>2]|0)==0):0)break;while(0);_b=_b+8|0}while((_b|0)<(c[ca>>2]|0))}while(0);v=v+1|0}while((v|0)<(y|0))}do if(c[u>>2]|0){if(c[e+17812>>2]|0)break;v=e+17876|0;ca=c[e+17888>>2]|0;Aa[c[fa+8>>2]&7](v)|0;Nb=ca+276|0;c[ca+272>>2]=c[Nb>>2];c[Nb>>2]=c[e+1032>>2];ya[c[fa+16>>2]&15](v)}while(0);c[h>>2]=eb((c[Rb>>2]|0)+((y<<lb)*16016|0)+-16016+12|0)|0}while(0);do if(!(c[P>>2]|0)){if(!(c[x>>2]|0)){if(c[e+17796>>2]|0)break;Ed(R);if(!(c[X>>2]|0))break;if(a[T>>0]|0)break;Fd(R);Id(R,c[e+1016>>2]|0)}}else Sa(R,7,30653,j);while(0);if((Sb|0)!=0|(c[e+4352>>2]|0)==0){l=i;return}vh((c[Q>>2]|0)+((c[W>>2]|0)*2044|0)|0,c[rb>>2]|0,2044)|0;l=i;return}function Af(a){a=a|0;var b=0;b=l;l=l+16|0;Sa(a,7,31145,b);l=b;return}function Bf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=l;l=l+32|0;e=d+16|0;f=d+8|0;g=d;h=a+17348|0;if((c[h>>2]|0)>>>0>1){i=(gb(b)|0)!=0;j=i?12:10}else j=8;c[a+17352>>2]=j;j=hb(b,3)|0;c[a+248>>2]=j;if((j|0)==7){c[a+252>>2]=1;switch(c[h>>2]|0){case 3:case 1:break;default:{Sa(a,5,31101,d+24|0);l=d;return}}c[a+280>>2]=0;c[a+284>>2]=0;if(!(gb(b)|0)){l=d;return}Sa(a,5,31084,e);l=d;return}c[a+252>>2]=gb(b)|0;switch(c[h>>2]|0){case 3:case 1:break;default:{c[a+280>>2]=1;c[a+284>>2]=1;l=d;return}}h=a+280|0;c[h>>2]=gb(b)|0;e=gb(b)|0;c[a+284>>2]=e;if((e|0)==1&(c[h>>2]|0)==1)Sa(a,5,31040,g);if(!(gb(b)|0)){l=d;return}Sa(a,5,31084,f);l=d;return}function Cf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;d=l;l=l+16|0;e=a+17404|0;f=c[e>>2]|0;g=(hb(b,16)|0)+1|0;Df(a,g,(hb(b,16)|0)+1|0);g=a+256|0;h=a+264|0;c[h>>2]=c[g>>2];i=a+260|0;j=a+268|0;c[j>>2]=c[i>>2];if(gb(b)|0){c[h>>2]=(hb(b,16)|0)+1;c[j>>2]=(hb(b,16)|0)+1}b=a+556|0;k=c[b>>2]|0;m=a+280|0;n=a+284|0;if(Ya((c[e>>2]|0)+12+(k*160|0)+28|0,c[g>>2]|0,c[i>>2]|0,c[m>>2]|0,c[n>>2]|0,32,c[a+17376>>2]|0,f+12+(k*160|0)+16|0,c[f+4>>2]|0,c[f>>2]|0)|0)Sa(a,2,30238,d);k=c[b>>2]|0;c[f+12+(k*160|0)+112>>2]=c[m>>2];c[f+12+(k*160|0)+116>>2]=c[n>>2];c[f+12+(k*160|0)+120>>2]=c[a+17352>>2];c[f+12+(k*160|0)+124>>2]=c[a+248>>2];c[f+12+(k*160|0)+128>>2]=c[a+252>>2];c[f+12+(k*160|0)+132>>2]=c[h>>2];c[f+12+(k*160|0)+136>>2]=c[j>>2];l=d;return}
function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;f=e+8|0;g=e;h=a+256|0;if(!((c[h>>2]|0)==(b|0)?(c[a+260>>2]|0)==(d|0):0)){if((b+7>>3|0)<=(c[a+608>>2]|0)?(d+7>>3|0)<=(c[a+600>>2]|0):0)ud(a,b,d);else i=5;if((i|0)==5?wd(a,b,d)|0:0)Sa(a,2,30967,g);yd(a);c[h>>2]=b;c[a+260>>2]=d}d=a+296|0;b=c[d>>2]|0;h=c[b+4>>2]|0;g=a+600|0;if((h|0?(c[g>>2]|0)<=(c[b+8>>2]|0):0)?(c[a+608>>2]|0)<=(c[b+12>>2]|0):0){l=e;return}Wa(h);h=c[g>>2]|0;g=c[d>>2]|0;c[g+8>>2]=h;b=c[a+608>>2]|0;c[g+12>>2]=b;g=Va(S(b,h)|0,12)|0;c[(c[d>>2]|0)+4>>2]=g;if(g|0){l=e;return}Sa(a,2,31002,f);l=e;return}function Ef(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;if((e|0)<=0)return;g=f+4|0;h=f+8|0;i=0;do{j=(((c[g>>2]|0)*252|0)+4|0)>>>8;k=c[h>>2]|0;if((k|0)<0){db(f);l=c[h>>2]|0}else l=k;k=c[f>>2]|0;m=j<<24;if(k>>>0<m>>>0){n=1;o=j;p=k}else{n=0;o=(c[g>>2]|0)-j|0;p=k-m|0}m=d[1280+o>>0]|0;k=o<<m;j=p<<m;q=l-m|0;c[f>>2]=j;c[h>>2]=q;c[g>>2]=k;if(!n){m=j;j=k;k=q;q=7;r=0;do{s=q;q=q+-1|0;t=((j<<7)+128|0)>>>8;if((k|0)<0){db(f);u=c[h>>2]|0;v=c[f>>2]|0}else{u=k;v=m}w=t<<24;if(v>>>0<w>>>0){x=0;y=t;z=v}else{x=1;y=(c[g>>2]|0)-t|0;z=v-w|0}w=d[1280+y>>0]|0;j=y<<w;m=z<<w;k=u-w|0;c[f>>2]=m;c[h>>2]=k;c[g>>2]=j;r=x<<q|r}while((s|0)>1);a[b+i>>0]=r<<1|1}i=i+1|0}while((i|0)!=(e|0));return}function Ff(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,fa=0,ga=0,ia=0,la=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0;e=l;l=l+32|0;f=e+8|0;g=e;h=4;i=ih(40)|0;c[i>>2]=0;j=e+20|0;k=e+16|0;m=e+12|0;c[j>>2]=b+13552;n=d+432|0;q=(1<<c[d+17800>>2])+-1|0;c[k>>2]=0;c[m>>2]=c[b+4>>2];r=b+15760|0;s=b+15848|0;c[s>>2]=1;i=th(b+15852|0,1,i|0,h|0)|0;h=D;o=0;t=o;o=0;if((t|0)!=0&(p|0)!=0){u=uh(c[t>>2]|0,i|0,h|0)|0;if(!u)ma(t|0,p|0);D=p}else u=-1;if((u|0)==1)v=D;else v=0;a:while(1){if(v|0){w=4;break}u=b+13704|0;c[u>>2]=0;t=b+13712|0;x=b+12|0;y=d+18704|0;z=d+18708|0;A=d+17844|0;B=d+1040|0;C=d+1100|0;E=d+4540|0;F=b+13612|0;G=b+13280|0;H=b+13628|0;I=b+13324|0;J=d+1068|0;K=b+13368|0;L=b+13632|0;M=b+13412|0;N=b+13456|0;O=b+13636|0;P=b+13500|0;Q=d+17840|0;R=d+1044|0;S=d+996|0;T=b+13688|0;U=b+13568|0;V=b+13708|0;W=b+13592|0;X=b+8|0;Y=b+13640|0;Z=b+13692|0;_=d+1012|0;while(1){$=c[m>>2]|0;qh(t|0,0,2048)|0;aa=d+17908+($*12|0)+8|0;o=0;ka(53,c[j>>2]|0,n|0,0,c[aa>>2]|0);ba=o;o=0;if((ba|0)!=0&(p|0)!=0){ca=uh(c[ba>>2]|0,i|0,h|0)|0;if(!ca)ma(ba|0,p|0);D=p}else ca=-1;if((ca|0)==1){v=D;continue a}ba=c[d+17908+($*12|0)>>2]|0;da=c[d+17908+($*12|0)+4>>2]|0;$=c[y>>2]|0;fa=c[z>>2]|0;if(!(da|0?((c[b>>2]|0)-ba|0)>>>0>=da>>>0:0)){o=0;ka(54,r|0,7,30768,g|0);ga=o;o=0;if((ga|0)!=0&(p|0)!=0){ia=uh(c[ga>>2]|0,i|0,h|0)|0;if(!ia)ma(ga|0,p|0);D=p}else ia=-1;if((ia|0)==1){v=D;continue a}}o=0;ga=ja(2,x|0,ba|0,da|0,$|0,fa|0)|0;fa=o;o=0;if((fa|0)!=0&(p|0)!=0){la=uh(c[fa>>2]|0,i|0,h|0)|0;if(!la)ma(fa|0,p|0);D=p}else la=-1;if((la|0)==1){v=D;continue a}if(ga|0){o=0;c[f>>2]=1;ka(54,r|0,2,30808,f|0);ga=o;o=0;if((ga|0)!=0&(p|0)!=0){na=uh(c[ga>>2]|0,i|0,h|0)|0;if(!na)ma(ga|0,p|0);D=p}else na=-1;if((na|0)==1){v=D;continue a}}c[G>>2]=t;c[H>>2]=c[A>>2];c[I>>2]=c[J>>2];c[I+4>>2]=c[J+4>>2];c[I+8>>2]=c[J+8>>2];c[I+12>>2]=c[J+12>>2];c[I+16>>2]=c[J+16>>2];c[I+20>>2]=c[J+20>>2];c[I+24>>2]=c[J+24>>2];c[I+28>>2]=c[J+28>>2];ga=c[A>>2]|0;fa=(c[B>>2]<<1)+14&-16;c[F>>2]=c[E>>2];c[K>>2]=t;c[L>>2]=ga+fa;c[M>>2]=c[C>>2];c[M+4>>2]=c[C+4>>2];c[M+8>>2]=c[C+8>>2];c[M+12>>2]=c[C+12>>2];c[M+16>>2]=c[C+16>>2];c[M+20>>2]=c[C+20>>2];c[M+24>>2]=c[C+24>>2];c[M+28>>2]=c[C+28>>2];fa=c[A>>2]|0;ga=(c[B>>2]<<2)+28&-32;c[F>>2]=c[E>>2];c[N>>2]=t;c[O>>2]=fa+ga;c[P>>2]=c[C>>2];c[P+4>>2]=c[C+4>>2];c[P+8>>2]=c[C+8>>2];c[P+12>>2]=c[C+12>>2];c[P+16>>2]=c[C+16>>2];c[P+20>>2]=c[C+20>>2];c[P+24>>2]=c[C+24>>2];c[P+28>>2]=c[C+28>>2];ga=c[E>>2]|0;fa=c[Q>>2]|0;$=c[R>>2]|0;da=ga;ba=(c[S>>2]|0)==0;c[F>>2]=ga;c[T>>2]=fa;c[U>>2]=$;c[V>>2]=n;if(!ba?(a[_>>0]|0)==0:0)oa=da+126|0;else oa=27616;c[W>>2]=oa;c[V>>2]=r;da=c[c[j>>2]>>2]|0;if((da|0)<(c[(c[j>>2]|0)+4>>2]|0)){ba=da;while(1){da=Y;$=da+48|0;do{c[da>>2]=0;da=da+4|0}while((da|0)<($|0));da=Z;c[da>>2]=0;c[da+4>>2]=0;da=c[(c[j>>2]|0)+8>>2]|0;if((da|0)<(c[(c[j>>2]|0)+12>>2]|0)){$=da;while(1){o=0;ha(1,b|0,d|0,ba|0,$|0,12,4);da=o;o=0;if((da|0)!=0&(p|0)!=0){pa=uh(c[da>>2]|0,i|0,h|0)|0;if(!pa)ma(da|0,p|0);D=p}else pa=-1;if((pa|0)==1){v=D;continue a}$=$+8|0;if(($|0)>=(c[(c[j>>2]|0)+12>>2]|0))break}}ba=ba+8|0;if((ba|0)>=(c[(c[j>>2]|0)+4>>2]|0))break}}if((c[aa>>2]|0)==(q|0)){o=0;ba=ea(5,x|0)|0;$=o;o=0;if(($|0)!=0&(p|0)!=0){qa=uh(c[$>>2]|0,i|0,h|0)|0;if(!qa)ma($|0,p|0);D=p}else qa=-1;if((qa|0)==1){v=D;continue a}c[k>>2]=ba}ra=(c[u>>2]|0)==0;if(!ra){w=27;break a}ba=c[m>>2]|0;c[m>>2]=ba+1;if((ba|0)>=(c[X>>2]|0)){w=27;break a}}}if((w|0)==4){c[s>>2]=0;c[b+13704>>2]=1;c[b>>2]=0;sa=0;jh(i|0);l=e;return sa|0}else if((w|0)==27){c[b>>2]=c[k>>2];sa=ra&1;jh(i|0);l=e;return sa|0}return 0}function Gf(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=l;l=l+32|0;j=i+24|0;k=i+16|0;m=i+8|0;n=i;o=i+28|0;if((g|0)<=0){l=i;return}p=(f|0)>0;q=g+-1|0;r=f+-1|0;s=a+432|0;t=a+18704|0;u=a+18708|0;a=e;e=o+1|0;v=o+2|0;w=o+3|0;x=b;b=0;while(1){a:do if(p){if((b|0)==(q|0)){y=0;z=x}else{A=0;B=x;while(1){c[h+(b*768|0)+(A*12|0)+8>>2]=A;C=c[t>>2]|0;D=c[u>>2]|0;if((a-B|0)>>>0<=3)Sa(s,7,30768,k);if(!C){E=B;F=E;G=(d[E+1>>0]|0)<<16|(d[E>>0]|0)<<24|(d[E+2>>0]|0)<<8|(d[E+3>>0]|0)}else{E=B;Ga[C&63](D,E,o,4);F=E;G=(d[e>>0]|0)<<16|(d[o>>0]|0)<<24|(d[v>>0]|0)<<8|(d[w>>0]|0)}E=F+4|0;D=E;if(G>>>0>(a-D|0)>>>0)Sa(s,7,30929,j);c[h+(b*768|0)+(A*12|0)>>2]=D;c[h+(b*768|0)+(A*12|0)+4>>2]=G;D=E+G|0;A=A+1|0;if((A|0)==(f|0)){H=D;break a}else B=D}}while(1){B=h+(q*768|0)+(y*12|0)|0;c[h+(q*768|0)+(y*12|0)+8>>2]=y;A=c[t>>2]|0;D=c[u>>2]|0;E=a-z|0;if((y|0)!=(r|0)){if(E>>>0<=3)Sa(s,7,30768,n);if(!A){C=z;I=C;J=(d[C+1>>0]|0)<<16|(d[C>>0]|0)<<24|(d[C+2>>0]|0)<<8|(d[C+3>>0]|0)}else{C=z;Ga[A&63](D,C,o,4);I=C;J=(d[e>>0]|0)<<16|(d[o>>0]|0)<<24|(d[v>>0]|0)<<8|(d[w>>0]|0)}C=I+4|0;if(J>>>0>(a-C|0)>>>0){Sa(s,7,30929,m);K=C;L=J}else{K=C;L=J}}else{K=z;L=E}c[B>>2]=K;c[h+(q*768|0)+(y*12|0)+4>>2]=L;B=K+L|0;y=y+1|0;if((y|0)==(f|0)){H=B;break}else z=B}}else H=x;while(0);b=b+1|0;if((b|0)==(g|0))break;else x=H}l=i;return}function Hf(a,b){a=a|0;b=b|0;return (c[b+4>>2]|0)-(c[a+4>>2]|0)|0}function If(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;j=i+-1|0;k=1<<j;l=k>>1;m=l+f|0;n=c[e+1032>>2]|0;o=(m|0)<(n|0);p=l+g|0;q=c[e+1040>>2]|0;r=(p|0)<(q|0);if(!((n|0)>(f|0)&(q|0)>(g|0)))return;q=b+13688|0;n=(f&7)+(b+13692)|0;s=(a[(c[q>>2]|0)+g>>0]|0)>>>j&1|j<<2|(a[n>>0]|0)>>>j<<1&2;t=c[b+13592>>2]|0;u=c[b+13548>>2]|0;v=b+12|0;do if(!(o&r)){w=o^1;if(r&w){x=d[t+(s*3|0)+1>>0]|0;y=b+16|0;z=(256-x+(S(c[y>>2]|0,x)|0)|0)>>>8;x=b+20|0;A=c[x>>2]|0;if((A|0)<0){db(v);B=c[x>>2]|0}else B=A;A=c[v>>2]|0;C=z<<24;if(A>>>0<C>>>0){D=1;E=z;F=A}else{D=3;E=(c[y>>2]|0)-z|0;F=A-C|0}C=d[1280+E>>0]|0;c[v>>2]=F<<C;c[x>>2]=B-C;c[y>>2]=E<<C;G=D;break}if(r|w)G=3;else{w=d[t+(s*3|0)+2>>0]|0;C=b+16|0;y=(256-w+(S(c[C>>2]|0,w)|0)|0)>>>8;w=b+20|0;x=c[w>>2]|0;if((x|0)<0){db(v);H=c[w>>2]|0}else H=x;x=c[v>>2]|0;A=y<<24;if(x>>>0<A>>>0){I=2;J=y;K=x}else{I=3;J=(c[C>>2]|0)-y|0;K=x-A|0}A=d[1280+J>>0]|0;c[v>>2]=K<<A;c[w>>2]=H-A;c[C>>2]=J<<A;G=I}}else{A=b+16|0;C=b+20|0;w=c[A>>2]|0;x=c[C>>2]|0;y=0;do{z=y<<24>>24;L=d[(z>>1)+(t+(s*3|0))>>0]|0;M=(256-L+(S(L,w)|0)|0)>>>8;if((x|0)<0){db(v);N=c[C>>2]|0}else N=x;L=c[v>>2]|0;O=M<<24;if(L>>>0<O>>>0){P=0;Q=M;R=L}else{P=1;Q=(c[A>>2]|0)-M|0;R=L-O|0}O=d[1280+Q>>0]|0;w=Q<<O;x=N-O|0;c[v>>2]=R<<O;c[C>>2]=x;c[A>>2]=w;y=a[27688+(P+z)>>0]|0}while(y<<24>>24>0);G=0-(y<<24>>24)|0}while(0);P=u+560+(s<<4)+(G<<2)|0;if(u|0)c[P>>2]=(c[P>>2]|0)+1;P=a[(h&255)+(29260+(G*13|0))>>0]|0;a:do if(!l){a[b+13544>>0]=1>>>(G>>>1&1);a[b+13545>>0]=1>>>(G&1);Jf(b,e,f,g,P,1,1)}else switch(G|0){case 0:{Jf(b,e,f,g,P,i,i);break a;break}case 1:{Jf(b,e,f,g,P,i,j);if(!o)break a;Jf(b,e,m,g,P,i,j);break a;break}case 2:{Jf(b,e,f,g,P,j,i);if(!r)break a;Jf(b,e,f,p,P,j,i);break a;break}case 3:{If(b,e,f,g,P,j);If(b,e,f,p,P,j);If(b,e,m,g,P,j);If(b,e,m,p,P,j);break a;break}default:break a}while(0);if((h&255)<=2)return;if(!(h<<24>>24==3|(G|0)!=3))return;G=P&255;qh((c[q>>2]|0)+g|0,a[29590+(G<<1)>>0]|0,k|0)|0;qh(n|0,a[29590+(G<<1)+1>>0]|0,k|0)|0;return}function Jf(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0;n=l;l=l+16|0;o=n+8|0;p=n;q=n+12|0;r=g+432|0;s=j&255;t=1<<k+-1;u=1<<m+-1;v=c[g+1040>>2]|0;w=v-i|0;x=(t|0)<(w|0)?t:w;w=c[g+1032>>2]|0;y=w-h|0;z=(u|0)<(y|0)?u:y;y=f+13280|0;A=c[g+1044>>2]|0;B=(S(A,h)|0)+i|0;C=(c[g+1168>>2]|0)+(B<<2)|0;D=f+13572|0;c[D>>2]=C;c[C>>2]=(c[g+1140>>2]|0)+(B*68|0);a[c[c[D>>2]>>2]>>0]=j;if((z|0)>0){B=0;do{C=(B|0)==0&1;if((C|0)<(x|0)){E=S(B,A)|0;F=C;do{C=c[D>>2]|0;c[C+(F+E<<2)>>2]=c[C>>2];F=F+1|0}while((F|0)!=(x|0))}B=B+1|0}while((B|0)!=(z|0))}B=t<<1;A=u<<1;F=c[f+13284>>2]|0;E=f+13356|0;b[E>>1]=B>>F;C=c[f+13288>>2]|0;G=f+13358|0;b[G>>1]=A>>C;a[f+13360>>0]=k-F;a[f+13361>>0]=m-C;H=c[f+13372>>2]|0;I=f+13444|0;b[I>>1]=B>>H;J=c[f+13376>>2]|0;K=f+13446|0;b[K>>1]=A>>J;a[f+13448>>0]=k-H;a[f+13449>>0]=m-J;L=c[f+13460>>2]|0;M=f+13532|0;b[M>>1]=B>>L;B=c[f+13464>>2]|0;N=f+13534|0;b[N>>1]=A>>B;a[f+13536>>0]=k-L;a[f+13537>>0]=m-B;m=i<<1;k=h<<1&14;A=f+13316|0;c[A>>2]=(c[f+13628>>2]|0)+(m>>F);F=f+13320|0;c[F>>2]=(k>>>C)+(f+13640);C=f+13404|0;c[C>>2]=(c[f+13632>>2]|0)+(m>>H);H=f+13408|0;c[H>>2]=(k>>>J)+(f+13656);J=f+13492|0;c[J>>2]=(c[f+13636>>2]|0)+(m>>L);L=f+13496|0;c[L>>2]=(k>>>B)+(f+13672);c[f+13604>>2]=0-(h<<6);B=f+13608|0;c[B>>2]=w-(u+h)<<6;c[f+13596>>2]=0-(i<<6);w=f+13600|0;c[w>>2]=v-(t+i)<<6;if(!h)O=0;else O=c[(c[D>>2]|0)+(0-(c[f+13568>>2]|0)<<2)>>2]|0;c[f+13580>>2]=O;if((c[f+13560>>2]|0)<(i|0))P=c[(c[D>>2]|0)+-4>>2]|0;else P=0;c[f+13576>>2]=P;P=g+17836|0;Me(y,(c[P>>2]|0)+12+((c[g+988>>2]|0)*160|0)+28|0,h,i);O=c[c[D>>2]>>2]|0;v=(j&255)>2;if((v?(j=c[g+712>>2]|0,k=c[g+716>>2]|0,k|j|0):0)?(a[29330+(s<<2)+(j<<1)+k>>0]|0)==13:0)Sa(c[f+13708>>2]|0,7,30870,p);pf(f,g,h,i,x,z);z=O+3|0;if(a[z>>0]|0){qh(c[A>>2]|0,0,e[E>>1]|0)|0;qh(c[F>>2]|0,0,e[G>>1]|0)|0;qh(c[C>>2]|0,0,e[I>>1]|0)|0;qh(c[H>>2]|0,0,e[K>>1]|0)|0;qh(c[J>>2]|0,0,e[M>>1]|0)|0;qh(c[L>>2]|0,0,e[N>>1]|0)|0}if((a[O+8>>0]|0)>0){L=i<<3;J=h<<3;H=c[c[D>>2]>>2]|0;C=c[19668+(d[H+7>>0]<<2)>>2]|0;if(!(c[g+17864>>2]|0))Q=0;else Q=c[g+17872>>2]|0;F=f+13708|0;A=(d[H>>0]|0)<3;x=(a[H+9>>0]|0)>0?2:1;p=f+13292|0;k=f+13380|0;j=f+13468|0;s=0;do{m=(a[H+8+s>>0]|0)+-1|0;R=g+796+(m<<6)|0;T=g+796+(m<<6)+8|0;U=(c[P>>2]|0)+12+((c[R>>2]|0)*160|0)|0;V=c[T>>2]|0;if((V|0)!=-1?(W=c[g+796+(m<<6)+12>>2]|0,(W|0)!=-1):0){X=W;Y=V;Z=59}else{Sa(c[F>>2]|0,5,30890,o);V=c[T>>2]|0;if((V|0)==-1)_=0;else{X=c[g+796+(m<<6)+12>>2]|0;Y=V;Z=59}}if((Z|0)==59){Z=0;_=(X|0)!=-1&((Y|0)!=16384|(X|0)!=16384)}V=_&1;Ne(y,s,c[g+796+(m<<6)+4>>2]|0,h,i,_?T:0);c[f+13616+(s<<2)>>2]=R;if(A){R=0;do{m=f+13280+(R*88|0)|0;W=f+13280+(R*88|0)+12|0;$=b[f+13280+(R*88|0)+76>>1]|0;aa=$&65535;ba=b[f+13280+(R*88|0)+78>>1]|0;ca=ba&65535;da=aa<<2;ea=ca<<2;fa=f+13280+(R*88|0)+20+(s<<3)|0;if(!($<<16>>16==0|ba<<16>>16==0)){ba=0;$=0;while(1){ga=$<<2;ha=ba;ia=0;while(1){Le(q,m,H,s,ha);Kf(Q,y,R,da,ea,ia<<2,ga,4,4,L,J,C,T,fa,W,q,U,V,s);ia=ia+1|0;if((ia|0)==(aa|0))break;else ha=ha+1|0}$=$+1|0;if(($|0)==(ca|0))break;else ba=ba+aa|0}}R=R+1|0}while((R|0)!=3)}else{R=H+12+(s<<2)|0;c[q>>2]=e[R>>1]|e[R+2>>1]<<16;R=e[E>>1]<<2;aa=e[G>>1]<<2;Kf(Q,y,0,R,aa,0,0,R,aa,L,J,C,T,f+13300+(s<<3)|0,p,q,U,V,s);aa=e[I>>1]<<2;R=e[K>>1]<<2;Kf(Q,y,1,aa,R,0,0,aa,R,L,J,C,T,f+13388+(s<<3)|0,k,q,U,V,s);R=e[M>>1]<<2;aa=e[N>>1]<<2;Kf(Q,y,2,R,aa,0,0,R,aa,L,J,C,T,f+13476+(s<<3)|0,j,q,U,V,s)}s=s+1|0}while((s|0)!=(x|0));if(!(a[z>>0]|0)){x=O+2|0;s=f+13584|0;q=f+13588|0;j=O+4|0;C=f+13700|0;J=0;L=0;while(1){if(!L)ja=x;else ja=(c[f+13280+(L*88|0)+8>>2]|0)+(29382+(d[O>>0]<<4)+(d[x>>0]<<2)+(c[f+13280+(L*88|0)+4>>2]<<1))|0;Q=a[ja>>0]|0;N=Q&255;M=1<<N;k=c[w>>2]|0;K=(k|0)>-1;if(K)ka=0;else ka=k>>(c[f+13280+(L*88|0)+4>>2]|0)+5;k=ka+(e[f+13280+(L*88|0)+76>>1]|0)|0;I=c[B>>2]|0;p=(I|0)>-1;if(p)la=0;else la=I>>(c[f+13280+(L*88|0)+8>>2]|0)+5;I=la+(e[f+13280+(L*88|0)+78>>1]|0)|0;c[s>>2]=K?0:k;c[q>>2]=p?0:I;if((I|0)>0){p=(k|0)>0;K=19812+(N*12|0)|0;G=f+13280+(L*88|0)+12|0;E=f+13280+(L*88|0)+16|0;H=f+13280+(L*88|0)|0;A=(Q&255)<3;_=32<<N;X=Q<<24>>24==3;Y=32<<(N<<1);N=Q<<24>>24==0;Z=J;o=0;while(1){a:do if(p){if(N){F=0;P=Z;while(1){aa=Lf(f,L,K,F,o,0,a[j>>0]|0)|0;do if((aa|0)>0){R=c[E>>2]|0;ba=(c[G>>2]|0)+((S(R,o)|0)+F<<2)|0;ca=c[H>>2]|0;if(!(c[C>>2]|0))Rd(ca,ba,R,aa);else Sd(ca,ba,R,aa);if((aa|0)==1){b[ca>>1]=0;break}if(A&(aa|0)<11){qh(ca|0,0,_|0)|0;break}if(X&(aa|0)<35){qh(ca|0,0,512)|0;break}else{qh(ca|0,0,Y|0)|0;break}}while(0);ca=aa+P|0;F=F+M|0;if((F|0)>=(k|0)){ma=ca;break a}else P=ca}}else{na=0;oa=Z}while(1){P=Lf(f,L,K,na,o,Q,a[j>>0]|0)|0;b:do if((P|0)>0){F=c[E>>2]|0;ca=(c[G>>2]|0)+((S(F,o)|0)+na<<2)|0;R=c[H>>2]|0;c:do if(!(c[C>>2]|0))switch(Q<<24>>24){case 3:{Vd(R,ca,F,P);break c;break}case 1:{Td(R,ca,F,P);break c;break}case 2:{Ud(R,ca,F,P);break c;break}default:break b}else Sd(R,ca,F,P);while(0);if((P|0)==1){b[R>>1]=0;break}if(A&(P|0)<11){qh(R|0,0,_|0)|0;break}if(X&(P|0)<35){qh(R|0,0,512)|0;break}else{qh(R|0,0,Y|0)|0;break}}while(0);aa=P+oa|0;na=na+M|0;if((na|0)>=(k|0)){ma=aa;break}else oa=aa}}else ma=Z;while(0);o=o+M|0;if((o|0)>=(I|0)){pa=ma;break}else Z=ma}}else pa=J;L=L+1|0;if((L|0)==3)break;else J=pa}if(v&(pa|0)==0)a[z>>0]=1}}else{pa=O+2|0;v=f+13584|0;J=f+13588|0;L=O+6|0;ma=O+1|0;oa=f+13700|0;na=O+4|0;C=0;do{j=(C|0)==0;if(j)qa=pa;else qa=(c[f+13280+(C*88|0)+8>>2]|0)+(29382+(d[O>>0]<<4)+(d[pa>>0]<<2)+(c[f+13280+(C*88|0)+4>>2]<<1))|0;q=a[qa>>0]|0;s=q&255;la=1<<s;ka=c[w>>2]|0;ja=(ka|0)>-1;if(ja)ra=0;else ra=ka>>(c[f+13280+(C*88|0)+4>>2]|0)+5;ka=ra+(e[f+13280+(C*88|0)+76>>1]|0)|0;x=c[B>>2]|0;Z=(x|0)>-1;if(Z)sa=0;else sa=x>>(c[f+13280+(C*88|0)+8>>2]|0)+5;x=sa+(e[f+13280+(C*88|0)+78>>1]|0)|0;c[v>>2]=ja?0:ka;c[J>>2]=Z?0:x;if((x|0)>0){Z=(ka|0)>0;ja=j?ma:L;I=f+13280+(C*88|0)+12|0;o=f+13280+(C*88|0)+16|0;M=f+13280+(C*88|0)+80|0;k=f+13280+(C*88|0)|0;Y=(q&255)<3;X=32<<s;_=q<<24>>24==3;A=32<<(s<<1);Q=19812+(s*12|0)|0;H=0;do{if(Z){G=H<<1;E=0;do{K=c[o>>2]|0;N=(c[I>>2]|0)+((S(K,H)|0)+E<<2)|0;if(j&(d[O>>0]|0)<3)ta=(c[c[D>>2]>>2]|0)+20+((E+G|0)*12|0)|0;else ta=ja;p=a[ta>>0]|0;Oe(y,d[M>>0]|0,q,p,N,K,N,K,E,H,C);d:do if(!(a[z>>0]|0)){do if(j){if(c[oa>>2]|0){ua=0;va=Q;break}K=c[19772+((p&255)<<2)>>2]|0;ua=K;va=19860+(s*48|0)+(K*12|0)|0}else{ua=0;va=Q}while(0);P=Lf(f,C,va,E,H,q,a[na>>0]|0)|0;if((P|0)<=0)break;K=c[o>>2]|0;V=c[k>>2]|0;e:do if(!(c[oa>>2]|0))switch(q<<24>>24){case 0:{Wd(ua,V,N,K,P);break e;break}case 1:{Xd(ua,V,N,K,P);break e;break}case 2:{Yd(ua,V,N,K,P);break e;break}case 3:{Vd(V,N,K,P);break e;break}default:break d}else Sd(V,N,K,P);while(0);if((P|0)==1){b[V>>1]=0;break}if((ua|0)==0&(Y&(P|0)<11)){qh(V|0,0,X|0)|0;break}if(_&(P|0)<35){qh(V|0,0,512)|0;break}else{qh(V|0,0,A|0)|0;break}}while(0);E=E+la|0}while((E|0)<(ka|0))}H=H+la|0}while((H|0)<(x|0))}C=C+1|0}while((C|0)!=3)}C=f+13704|0;c[C>>2]=((c[f+20>>2]|0)+-33|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=s+1|0;aa=aa+-1|0;if(!aa)break;else{$=$+j|0;_=(s|0)>-1&(ba|0)<(D|0)?_+N|0:_;s=ba}}}}else if(o)if(i){s=e;_=x;$=v;aa=T;while(1){qh(_|0,a[$>>0]|0,y|0)|0;ba=aa+1|0;s=s+-1|0;if(!s)break;else{_=_+j|0;$=(aa|0)>-1&(ba|0)<(D|0)?$+N|0:$;aa=ba}}}else{aa=e;$=x;_=v;s=T;while(1){qh($|0,a[_>>0]|0,y|0)|0;qh($+y|0,a[_+E>>0]|0,t|0)|0;ba=s+1|0;aa=aa+-1|0;if(!aa)break;else{$=$+j|0;_=(s|0)>-1&(ba|0)<(D|0)?_+N|0:_;s=ba}}}else if(i){s=e;_=x;$=v;aa=T;while(1){qh(_|0,a[$>>0]|0,y|0)|0;vh(_+y|0,$+P+y|0,n|0)|0;ba=aa+1|0;s=s+-1|0;if(!s)break;else{_=_+j|0;$=(aa|0)>-1&(ba|0)<(D|0)?$+N|0:$;aa=ba}}}else{aa=e;$=x;_=v;s=T;while(1){qh($|0,a[_>>0]|0,y|0)|0;ba=$+y|0;vh(ba|0,_+P+y|0,n|0)|0;qh(ba+n|0,a[_+E>>0]|0,t|0)|0;ba=s+1|0;aa=aa+-1|0;if(!aa)break;else{$=$+j|0;_=(s|0)>-1&(ba|0)<(D|0)?_+N|0:_;s=ba}}}while(0);wa[c[q+24+(((f|0)!=0&1)<<4)+(((h|0)!=0&1)<<3)+(w<<2)>>2]&15](x+g|0,j,A,G,p+(f<<4)|0,L,p+(h<<4)|0,O,k,m);l=d;return}while(0);wa[c[q+24+(((f|0)!=0&1)<<4)+(((h|0)!=0&1)<<3)+(w<<2)>>2]&15](r,N,A,c[z>>2]|0,p+(f<<4)|0,L,p+(h<<4)|0,O,k,m);l=d;return}function Lf(d,e,f,g,h,i,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=d+12|0;l=d+13280+(e*88|0)|0;m=d+13280+(e*88|0)+44+(j<<2)|0;j=(c[d+13280+(e*88|0)+36>>2]|0)+g|0;n=(c[d+13280+(e*88|0)+40>>2]|0)+h|0;switch(i<<24>>24){case 0:{i=Mf(c[d+13548>>2]|0,a[(c[c[d+13572>>2]>>2]|0)+8>>0]|0,c[d+13612>>2]|0,(e|0)>0&1,c[l>>2]|0,0,m,((a[n>>0]|0)!=0&1)+((a[j>>0]|0)!=0&1)|0,c[f>>2]|0,c[f+8>>2]|0,k)|0;o=(i|0)>0&1;a[n>>0]=o;a[j>>0]=o;p=i;return p|0}case 1:{i=c[d+13584>>2]|0;o=g+2|0;q=c[d+13588>>2]|0;r=h+2|0;s=Mf(c[d+13548>>2]|0,a[(c[c[d+13572>>2]>>2]|0)+8>>0]|0,c[d+13612>>2]|0,(e|0)>0&1,c[l>>2]|0,1,m,((b[n>>1]|0)!=0&1)+((b[j>>1]|0)!=0&1)|0,c[f>>2]|0,c[f+8>>2]|0,k)|0;t=(s|0)>0?257:0;b[j>>1]=t>>>((i|0)!=0&o>>>0>i>>>0?o-i<<3:0);b[n>>1]=t>>>((q|0)!=0&r>>>0>q>>>0?r-q<<3:0);p=s;return p|0}case 2:{s=c[d+13584>>2]|0;q=g+4|0;r=c[d+13588>>2]|0;t=h+4|0;i=Mf(c[d+13548>>2]|0,a[(c[c[d+13572>>2]>>2]|0)+8>>0]|0,c[d+13612>>2]|0,(e|0)>0&1,c[l>>2]|0,2,m,((c[n>>2]|0)!=0&1)+((c[j>>2]|0)!=0&1)|0,c[f>>2]|0,c[f+8>>2]|0,k)|0;o=(i|0)>0?16843009:0;c[j>>2]=o>>>((s|0)!=0&q>>>0>s>>>0?q-s<<3:0);c[n>>2]=o>>>((r|0)!=0&t>>>0>r>>>0?t-r<<3:0);p=i;return p|0}case 3:{i=c[d+13584>>2]|0;r=g+8|0;g=c[d+13588>>2]|0;t=h+8|0;h=j;o=n;s=Mf(c[d+13548>>2]|0,a[(c[c[d+13572>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c=ca<<da;Rc=Nc-ja<<da}da=Mc-Pc|0;b[i+(b[n+(Aa<<1)>>1]<<1)>>1]=Oc;ja=Aa+1|0;ca=ja<<1;if((ja|0)<(t|0)){$=za;j=ja;aa=da;z=((d[r+(b[o+(ca<<1)>>1]|0)>>0]|0)+1+(d[r+(b[o+((ca|1)<<1)>>1]|0)>>0]|0)|0)>>>1;m=F;k=Qc;x=Rc}else{B=ja;C=Qc;D=Rc;E=da;ha=102;break}}if((ha|0)==14){Rc=d[1280+ea>>0]|0;Qc=ea<<Rc;ea=ga<<Rc;ga=fa-Rc|0;Rc=e+816+(s*2304|0)+(h*1152|0)+(u*576|0)+(ba*96|0)+(z<<4)+12|0;if(!A){B=j;C=Qc;D=ea;E=ga;c[p>>2]=D;c[w>>2]=C;c[y>>2]=E;l=q;return B|0}c[Rc>>2]=(c[Rc>>2]|0)+1;B=j;C=Qc;D=ea;E=ga;c[p>>2]=D;c[w>>2]=C;c[y>>2]=E;l=q;return B|0}else if((ha|0)==102){c[p>>2]=D;c[w>>2]=C;c[y>>2]=E;l=q;return B|0}return 0}function Nf(a){a=a|0;return}function Of(a){a=a|0;return}function Pf(a){a=a|0;return}function Qf(a,b,c){a=a|0;b=b|0;c=c|0;return}function Rf(a,b){a=a|0;b=b|0;return}function Sf(a,b){a=a|0;b=b|0;return}function Tf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;b=l;l=l+32|0;d=b+8|0;e=b;f=4;g=ih(40)|0;c[g>>2]=0;h=b+16|0;i=b+12|0;o=0;j=ia(27,32,18736)|0;k=o;o=0;if((k|0)!=0&(p|0)!=0){m=uh(c[k>>2]|0,g|0,f|0)|0;if(!m)ma(k|0,p|0);D=p}else m=-1;if((m|0)!=1){c[h>>2]=j;if(!(c[h>>2]|0))n=0;else n=(c[h>>2]|0)+432|0;c[i>>2]=n;if(!(c[i>>2]|0)){q=i;r=0;jh(g|0);l=b;return r|0}qh(c[h>>2]|0,0,18736)|0;g=th((c[i>>2]|0)+92|0,1,g|0,f|0)|0;f=D;o=0;n=o;o=0;if((n|0)!=0&(p|0)!=0){s=uh(c[n>>2]|0,g|0,f|0)|0;if(!s)ma(n|0,p|0);D=p}else s=-1;if((s|0)==1){t=D;u=i}else{t=0;u=i}}else{t=D;u=0}while(1){s=(c[i>>2]|0)+88|0;if(t|0){c[s>>2]=0;o=0;ca(6,c[h>>2]|0);n=o;o=0;if((n|0)!=0&(p|0)!=0){v=uh(c[n>>2]|0,g|0,f|0)|0;if(!v)ma(n|0,p|0);D=p}else v=-1;if((v|0)==1){w=u;t=D;u=w;continue}else{x=9;break}}c[s>>2]=1;o=0;s=ia(28,1,2044)|0;n=o;o=0;if((n|0)!=0&(p|0)!=0){y=uh(c[n>>2]|0,g|0,f|0)|0;if(!y)ma(n|0,p|0);D=p}else y=-1;if((y|0)==1){w=u;t=D;u=w;continue}c[(c[i>>2]|0)+4108>>2]=s;if(!(c[(c[i>>2]|0)+4108>>2]|0)){o=0;ka(54,c[i>>2]|0,2,31162,e|0);s=o;o=0;if((s|0)!=0&(p|0)!=0){z=uh(c[s>>2]|0,g|0,f|0)|0;if(!z)ma(s|0,p|0);D=p}else z=-1;if((z|0)==1){w=u;t=D;u=w;continue}}o=0;s=ia(28,4,2044)|0;n=o;o=0;if((n|0)!=0&(p|0)!=0){A=uh(c[n>>2]|0,g|0,f|0)|0;if(!A)ma(n|0,p|0);D=p}else A=-1;if((A|0)==1){w=u;t=D;u=w;continue}c[(c[i>>2]|0)+4112>>2]=s;if(!(c[(c[i>>2]|0)+4112>>2]|0)){o=0;ka(54,c[i>>2]|0,2,31188,d|0);s=o;o=0;if((s|0)!=0&(p|0)!=0){B=uh(c[s>>2]|0,g|0,f|0)|0;if(!B)ma(s|0,p|0);D=p}else B=-1;if((B|0)==1){w=u;t=D;u=w;continue}}c[(c[h>>2]|0)+18720>>2]=1;if(!(c[8636]|0)){if(!(c[8637]|0)){o=0;fa(1);s=o;o=0;if((s|0)!=0&(p|0)!=0){C=uh(c[s>>2]|0,g|0,f|0)|0;if(!C)ma(s|0,p|0);D=p}else C=-1;if((C|0)==1){w=u;t=D;u=w;continue}o=0;fa(2);s=o;o=0;if((s|0)!=0&(p|0)!=0){E=uh(c[s>>2]|0,g|0,f|0)|0;if(!E)ma(s|0,p|0);D=p}else E=-1;if((E|0)==1){w=u;t=D;u=w;continue}o=0;fa(3);s=o;o=0;if((s|0)!=0&(p|0)!=0){F=uh(c[s>>2]|0,g|0,f|0)|0;if(!F)ma(s|0,p|0);D=p}else F=-1;if((F|0)==1){w=u;t=D;u=w;continue}o=0;fa(4);s=o;o=0;if((s|0)!=0&(p|0)!=0){G=uh(c[s>>2]|0,g|0,f|0)|0;if(!G)ma(s|0,p|0);D=p}else G=-1;if((G|0)==1){w=u;t=D;u=w;continue}c[8637]=1}c[8636]=1}s=(c[i>>2]|0)+300|0;c[s>>2]=-1;c[s+4>>2]=-1;c[s+8>>2]=-1;c[s+12>>2]=-1;c[s+16>>2]=-1;c[s+20>>2]=-1;c[s+24>>2]=-1;c[s+28>>2]=-1;s=(c[i>>2]|0)+332|0;c[s>>2]=-1;c[s+4>>2]=-1;c[s+8>>2]=-1;c[s+12>>2]=-1;c[s+16>>2]=-1;c[s+20>>2]=-1;c[s+24>>2]=-1;c[s+28>>2]=-1;c[(c[i>>2]|0)+17344>>2]=0;c[(c[h>>2]|0)+17856>>2]=1;c[(c[h>>2]|0)+17836>>2]=a;c[(c[i>>2]|0)+17352>>2]=8;c[(c[i>>2]|0)+17356>>2]=8;c[(c[i>>2]|0)+720>>2]=29;c[(c[i>>2]|0)+724>>2]=7;c[(c[i>>2]|0)+728>>2]=8;o=0;ca(9,c[i>>2]|0);s=o;o=0;if((s|0)!=0&(p|0)!=0){H=uh(c[s>>2]|0,g|0,f|0)|0;if(!H)ma(s|0,p|0);D=p}else H=-1;if((H|0)==1){w=u;t=D;u=w;continue}c[(c[i>>2]|0)+88>>2]=0;o=0;s=ba(1)|0;n=o;o=0;if((n|0)!=0&(p|0)!=0){I=uh(c[n>>2]|0,g|0,f|0)|0;if(!I)ma(n|0,p|0);D=p}else I=-1;if((I|0)==1){w=u;t=D;u=w;continue}o=0;ca(c[s>>2]|0,(c[h>>2]|0)+17876|0);s=o;o=0;if((s|0)!=0&(p|0)!=0){J=uh(c[s>>2]|0,g|0,f|0)|0;if(!J)ma(s|0,p|0);D=p}else J=-1;if((J|0)==1){w=u;t=D;u=w}else{x=29;break}}if((x|0)==9){q=u;r=0;jh(g|0);l=b;return r|0}else if((x|0)==29){q=u;r=c[h>>2]|0;jh(g|0);l=b;return r|0}return 0}function Uf(a){a=a|0;var b=0,d=0,e=0,f=0;if(!a)return;ya[c[(rd()|0)+20>>2]&15](a+17876|0);Wa(c[a+17888>>2]|0);b=a+18676|0;d=a+17900|0;if((c[b>>2]|0)>0){e=0;do{f=(c[d>>2]|0)+(e*24|0)|0;ya[c[(rd()|0)+20>>2]&15](f);e=e+1|0}while((e|0)<(c[b>>2]|0))}Wa(c[a+17904>>2]|0);Wa(c[d>>2]|0);if((c[b>>2]|0)>0)Fe(a+18684|0);Wa(a);return}function Vf(a,b){a=a|0;b=b|0;var d=0,e=0;d=Va(b,68)|0;c[a+704>>2]=d;if(!d){e=1;return e|0}c[a+700>>2]=b;d=Va(b,4)|0;c[a+732>>2]=d;e=(d|0)==0&1;return e|0}function Wf(a){a=a|0;var b=0;b=a+704|0;Wa(c[b>>2]|0);c[b>>2]=0;b=a+732|0;Wa(c[b>>2]|0);c[b>>2]=0;return}function Xf(a){a=a|0;var b=0,d=0;b=c[a+612>>2]|0;c[a+708>>2]=(c[a+704>>2]|0)+(b*68|0)+68;d=c[a+732>>2]|0;c[a+736>>2]=d+(b<<2)+4;qh(d|0,0,S(b<<2,(c[a+600>>2]|0)+1|0)|0)|0;return}function Yf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;e=l;l=l+32|0;f=e+16|0;g=e+8|0;h=e;i=a+432|0;do if((b|0)==1){j=c[a+732>>2]|0;if((j|0)<0){Sa(i,1,31226,h);k=1;l=e;return k|0}m=c[a+17836>>2]|0;n=m+12+(j*160|0)+28|0;if((((c[m+12+(j*160|0)+32>>2]|0)==(c[d+4>>2]|0)?(c[n>>2]|0)==(c[d>>2]|0):0)?(c[m+12+(j*160|0)+52>>2]|0)==(c[d+24>>2]|0):0)?(c[m+12+(j*160|0)+48>>2]|0)==(c[d+20>>2]|0):0){_a(n,d);break}Sa(i,1,31252,g)}else Sa(i,1,31280,f);while(0);k=c[i>>2]|0;l=e;return k|0}function Zf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+32|0;f=e+16|0;g=e+8|0;switch(b|0){case 1:{h=0;break}case 2:{h=1;break}case 4:{h=2;break}default:{Sa(a,1,31280,e);i=c[a>>2]|0;l=e;return i|0}}b=c[a+300+(h<<2)>>2]|0;if(b>>>0>14){Sa(a,1,31304,g);i=c[a>>2]|0;l=e;return i|0}g=c[a+17404>>2]|0;h=g+12+(b*160|0)+28|0;if((((c[g+12+(b*160|0)+32>>2]|0)==(c[d+4>>2]|0)?(c[h>>2]|0)==(c[d>>2]|0):0)?(c[g+12+(b*160|0)+52>>2]|0)==(c[d+24>>2]|0):0)?(c[g+12+(b*160|0)+48>>2]|0)==(c[d+20>>2]|0):0){_a(d,h);i=c[a>>2]|0;l=e;return i|0}Sa(a,1,31252,f);i=c[a>>2]|0;l=e;return i|0}function _f(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,da=0,fa=0,ga=0;f=l;l=l+16|0;g=f;h=4;i=ih(40)|0;c[i>>2]=0;j=f+12|0;k=f+8|0;m=f+4|0;c[j>>2]=b+432;c[k>>2]=c[(c[j>>2]|0)+17404>>2];c[m>>2]=(c[(c[j>>2]|0)+17404>>2]|0)+12;n=c[e>>2]|0;c[c[j>>2]>>2]=0;if((d|0)==0?(c[(c[j>>2]|0)+364>>2]|0)>0:0)c[(c[(c[j>>2]|0)+368>>2]|0)+112>>2]=1;q=b+17856|0;c[q>>2]=0;r=b+17864|0;if(((c[r>>2]|0)==0?(c[(c[j>>2]|0)+556>>2]|0)>-1:0)?(c[(c[m>>2]|0)+((c[(c[j>>2]|0)+556>>2]|0)*160|0)>>2]|0)==0:0){o=0;ia(c[(c[k>>2]|0)+8>>2]|0,c[c[k>>2]>>2]|0,(c[m>>2]|0)+((c[(c[j>>2]|0)+556>>2]|0)*160|0)+16|0)|0;s=o;o=0;if((s|0)!=0&(p|0)!=0){t=uh(c[s>>2]|0,i|0,h|0)|0;if(!t)ma(s|0,p|0);D=p}else t=-1;if((t|0)==1){u=D;v=0}else w=9}else w=9;do if((w|0)==9){t=c[(c[j>>2]|0)+17404>>2]|0;o=0;s=o;o=0;if((s|0)!=0&(p|0)!=0){x=uh(c[s>>2]|0,i|0,h|0)|0;if(!x)ma(s|0,p|0);D=p}else x=-1;if((x|0)!=1){if(c[t+12>>2]|0)if(c[t+172>>2]|0)if(c[t+332>>2]|0)if(c[t+492>>2]|0)if(c[t+652>>2]|0)if(c[t+812>>2]|0)if(c[t+972>>2]|0)if(c[t+1132>>2]|0)if(c[t+1292>>2]|0)if(c[t+1452>>2]|0)if(c[t+1612>>2]|0)if(c[t+1772>>2]|0)if(c[t+1932>>2]|0)if(c[t+2092>>2]|0)if(!(c[t+2252>>2]|0)){y=14;w=12}else z=-1;else{y=13;w=12}else{y=12;w=12}else{y=11;w=12}else{y=10;w=12}else{y=9;w=12}else{y=8;w=12}else{y=7;w=12}else{y=6;w=12}else{y=5;w=12}else{y=4;w=12}else{y=3;w=12}else{y=2;w=12}else{y=1;w=12}else{y=0;w=12}if((w|0)==12){c[t+12+(y*160|0)>>2]=1;z=y}o=0;t=o;o=0;if((t|0)!=0&(p|0)!=0){A=uh(c[t>>2]|0,i|0,h|0)|0;if(!A)ma(t|0,p|0);D=p}else A=-1;if((A|0)!=1){c[(c[j>>2]|0)+556>>2]=z;if((c[(c[j>>2]|0)+556>>2]|0)==-1){o=0;ka(54,c[j>>2]|0,2,31332,g|0);t=o;o=0;if((t|0)!=0&(p|0)!=0){B=uh(c[t>>2]|0,i|0,h|0)|0;if(!B)ma(t|0,p|0);D=p}else B=-1;if((B|0)==1){u=D;v=0;break}C=c[c[j>>2]>>2]|0;jh(i|0);l=f;return C|0}c[(c[j>>2]|0)+296>>2]=(c[k>>2]|0)+12+((c[(c[j>>2]|0)+556>>2]|0)*160|0);t=b+18724|0;c[t>>2]=0;if(c[r>>2]|0){s=c[b+17872>>2]|0;o=0;E=o;o=0;if((E|0)!=0&(p|0)!=0){F=uh(c[E>>2]|0,i|0,h|0)|0;if(!F)ma(E|0,p|0);D=p}else F=-1;if((F|0)==1){u=D;v=t;break}c[(c[m>>2]|0)+((c[(c[j>>2]|0)+556>>2]|0)*160|0)+148>>2]=s;s=c[m>>2]|0;E=c[(c[j>>2]|0)+556>>2]|0;c[b+17868>>2]=s+(E*160|0);c[s+(E*160|0)+152>>2]=-1;c[s+(E*160|0)+156>>2]=-1;o=0;E=o;o=0;if((E|0)!=0&(p|0)!=0){G=uh(c[E>>2]|0,i|0,h|0)|0;if(!G)ma(E|0,p|0);D=p}else G=-1;if((G|0)==1){u=D;v=t;break}}else c[b+17868>>2]=(c[m>>2]|0)+((c[(c[j>>2]|0)+556>>2]|0)*160|0);i=th((c[j>>2]|0)+92|0,1,i|0,h|0)|0;h=D;o=0;E=o;o=0;if((E|0)!=0&(p|0)!=0){H=uh(c[E>>2]|0,i|0,h|0)|0;if(!H)ma(E|0,p|0);D=p}else H=-1;if((H|0)==1){u=D;v=t}else{u=0;v=t}}else{u=D;v=0}}else{u=D;v=0}}while(0);a:while(1){if(u|0){o=0;H=ba(1)|0;G=o;o=0;if((G|0)!=0&(p|0)!=0){I=uh(c[G>>2]|0,i|0,h|0)|0;if(!I)ma(G|0,p|0);D=p}else I=-1;if((I|0)==1){J=v;u=D;v=J;continue}c[(c[j>>2]|0)+88>>2]=0;c[q>>2]=1;G=H+8|0;o=0;ea(c[G>>2]|0,b+17876|0)|0;H=o;o=0;if((H|0)!=0&(p|0)!=0){K=uh(c[H>>2]|0,i|0,h|0)|0;if(!K)ma(H|0,p|0);D=p}else K=-1;if((K|0)==1){J=v;u=D;v=J;continue}H=b+18676|0;if((c[H>>2]|0)>0){F=b+17900|0;B=0;while(1){o=0;ea(c[G>>2]|0,(c[F>>2]|0)+(B*24|0)|0)|0;g=o;o=0;if((g|0)!=0&(p|0)!=0){L=uh(c[g>>2]|0,i|0,h|0)|0;if(!L)ma(g|0,p|0);D=p}else L=-1;if((L|0)==1){J=v;u=D;v=J;continue a}B=B+1|0;if((B|0)>=(c[H>>2]|0))break}}o=0;H=o;o=0;if((H|0)!=0&(p|0)!=0){M=uh(c[H>>2]|0,i|0,h|0)|0;if(!M)ma(H|0,p|0);D=p}else M=-1;if((M|0)==1){J=v;u=D;v=J;continue}if((c[v>>2]|0)==1){H=c[b+17860>>2]|0;if(H){B=H;H=0;while(1){F=c[(c[j>>2]|0)+300+(H<<2)>>2]|0;G=c[m>>2]|0;g=c[k>>2]|0;z=(F|0)>-1;if(((z?(A=G+(F*160|0)|0,y=c[A>>2]|0,(y|0)>0):0)?(x=y+-1|0,c[A>>2]=x,(x|0)==0):0)?c[G+(F*160|0)+24>>2]|0:0){o=0;ia(c[g+8>>2]|0,c[g>>2]|0,G+(F*160|0)+16|0)|0;G=o;o=0;if((G|0)!=0&(p|0)!=0){N=uh(c[G>>2]|0,i|0,h|0)|0;if(!N)ma(G|0,p|0);D=p}else N=-1;if((N|0)==1){J=v;u=D;v=J;continue a}}do if(((B&1|0?(G=c[m>>2]|0,g=c[k>>2]|0,z):0)?(x=G+(F*160|0)|0,A=c[x>>2]|0,(A|0)>0):0)?(y=A+-1|0,c[x>>2]=y,(y|0)==0):0){if(!(c[G+(F*160|0)+24>>2]|0))break;o=0;ia(c[g+8>>2]|0,c[g>>2]|0,G+(F*160|0)+16|0)|0;G=o;o=0;if((G|0)!=0&(p|0)!=0){O=uh(c[G>>2]|0,i|0,h|0)|0;if(!O)ma(G|0,p|0);D=p}else O=-1;if((O|0)==1){J=v;u=D;v=J;continue a}}while(0);H=H+1|0;B=B>>1;if(!B)break}if((H|0)<8){P=H;w=62}}else{P=0;w=62}b:do if((w|0)==62)while(1){w=0;if(c[(c[j>>2]|0)+576>>2]|0)break b;B=c[(c[j>>2]|0)+300+(P<<2)>>2]|0;F=c[m>>2]|0;z=c[k>>2]|0;if((((B|0)>-1?(G=F+(B*160|0)|0,g=c[G>>2]|0,(g|0)>0):0)?(y=g+-1|0,c[G>>2]=y,(y|0)==0):0)?c[F+(B*160|0)+24>>2]|0:0){o=0;ia(c[z+8>>2]|0,c[z>>2]|0,F+(B*160|0)+16|0)|0;B=o;o=0;if((B|0)!=0&(p|0)!=0){Q=uh(c[B>>2]|0,i|0,h|0)|0;if(!Q)ma(B|0,p|0);D=p}else Q=-1;if((Q|0)==1){J=v;u=D;v=J;continue a}}P=P+1|0;if((P|0)>=8)break;else w=62}while(0);c[v>>2]=0}H=c[(c[j>>2]|0)+556>>2]|0;B=c[m>>2]|0;F=c[k>>2]|0;if((((H|0)>-1?(z=B+(H*160|0)|0,y=c[z>>2]|0,(y|0)>0):0)?(G=y+-1|0,c[z>>2]=G,(G|0)==0):0)?c[B+(H*160|0)+24>>2]|0:0){o=0;ia(c[F+8>>2]|0,c[F>>2]|0,B+(H*160|0)+16|0)|0;H=o;o=0;if((H|0)!=0&(p|0)!=0){R=uh(c[H>>2]|0,i|0,h|0)|0;if(!R)ma(H|0,p|0);D=p}else R=-1;if((R|0)==1){J=v;u=D;v=J;continue}}o=0;H=o;o=0;if((H|0)!=0&(p|0)!=0){S=uh(c[H>>2]|0,i|0,h|0)|0;if(!S)ma(H|0,p|0);D=p}else S=-1;if((S|0)==1){J=v;u=D;v=J;continue}else{w=78;break}}c[(c[j>>2]|0)+88>>2]=1;o=0;ka(55,b|0,n|0,n+d|0,e|0);H=o;o=0;if((H|0)!=0&(p|0)!=0){T=uh(c[H>>2]|0,i|0,h|0)|0;if(!T)ma(H|0,p|0);D=p}else T=-1;if((T|0)==1){J=v;u=D;v=J;continue}H=b+17836|0;B=c[H>>2]|0;o=0;F=o;o=0;if((F|0)!=0&(p|0)!=0){U=uh(c[F>>2]|0,i|0,h|0)|0;if(!U)ma(F|0,p|0);D=p}else U=-1;if((U|0)==1){J=v;u=D;v=J;continue}F=c[b+17860>>2]|0;G=B+8|0;if(F){z=F;F=0;while(1){y=b+732+(F<<2)|0;g=c[y>>2]|0;if((g|0)>-1){x=B+12+(g*160|0)|0;A=c[x>>2]|0;if(((A|0)>0?(t=A+-1|0,c[x>>2]=t,(t|0)==0):0)?c[B+12+(g*160|0)+24>>2]|0:0){o=0;ia(c[G>>2]|0,c[B>>2]|0,B+12+(g*160|0)+16|0)|0;t=o;o=0;if((t|0)!=0&(p|0)!=0){V=uh(c[t>>2]|0,i|0,h|0)|0;if(!V)ma(t|0,p|0);D=p}else V=-1;if((V|0)==1){J=v;u=D;v=J;continue a}}if(((z&1|0?(t=c[x>>2]|0,(t|0)>0):0)?(A=t+-1|0,c[x>>2]=A,(A|0)==0):0)?c[B+12+(g*160|0)+24>>2]|0:0){o=0;ia(c[G>>2]|0,c[B>>2]|0,B+12+(g*160|0)+16|0)|0;g=o;o=0;if((g|0)!=0&(p|0)!=0){W=uh(c[g>>2]|0,i|0,h|0)|0;if(!W)ma(g|0,p|0);D=p}else W=-1;if((W|0)==1){J=v;u=D;v=J;continue a}}}c[y>>2]=c[b+764+(F<<2)>>2];F=F+1|0;z=z>>1;if(!z)break}if((F|0)<8){X=F;w=83}}else{X=0;w=83}c:do if((w|0)==83){w=0;z=b+1008|0;y=X;while(1){if(c[z>>2]|0)break c;g=b+732+(y<<2)|0;A=c[g>>2]|0;if((((A|0)>-1?(x=B+12+(A*160|0)|0,t=c[x>>2]|0,(t|0)>0):0)?(E=t+-1|0,c[x>>2]=E,(E|0)==0):0)?c[B+12+(A*160|0)+24>>2]|0:0){o=0;ia(c[G>>2]|0,c[B>>2]|0,B+12+(A*160|0)+16|0)|0;A=o;o=0;if((A|0)!=0&(p|0)!=0){Y=uh(c[A>>2]|0,i|0,h|0)|0;if(!Y)ma(A|0,p|0);D=p}else Y=-1;if((Y|0)==1){J=v;u=D;v=J;continue a}}c[g>>2]=c[b+764+(y<<2)>>2];y=y+1|0;if((y|0)>=8)break}}while(0);o=0;G=o;o=0;if((G|0)!=0&(p|0)!=0){Z=uh(c[G>>2]|0,i|0,h|0)|0;if(!Z)ma(G|0,p|0);D=p}else Z=-1;if((Z|0)==1){J=v;u=D;v=J;continue}c[v>>2]=0;G=b+988|0;c[b+720>>2]=(c[H>>2]|0)+12+((c[G>>2]|0)*160|0)+28;if(!((c[r>>2]|0)!=0?(c[b+1e3>>2]|0)!=0:0)){o=0;F=o;o=0;if((F|0)!=0&(p|0)!=0){_=uh(c[F>>2]|0,i|0,h|0)|0;if(!_)ma(F|0,p|0);D=p}else _=-1;if((_|0)==1){J=v;u=D;v=J;continue}F=B+12+((c[G>>2]|0)*160|0)|0;c[F>>2]=(c[F>>2]|0)+-1;o=0;F=o;o=0;if((F|0)!=0&(p|0)!=0){$=uh(c[F>>2]|0,i|0,h|0)|0;if(!$)ma(F|0,p|0);D=p}else $=-1;if(($|0)==1){J=v;u=D;v=J;continue}}c[b+796>>2]=-1;c[b+860>>2]=-1;c[b+924>>2]=-1;if((c[(c[j>>2]|0)+576>>2]|0)==0?(c[(c[j>>2]|0)+572>>2]=c[(c[j>>2]|0)+568>>2],c[(c[j>>2]|0)+292>>2]=c[(c[j>>2]|0)+296>>2],(a[(c[j>>2]|0)+3980>>0]|0)!=0):0){if(!(c[r>>2]|0)){o=0;ca(10,c[j>>2]|0);F=o;o=0;if((F|0)!=0&(p|0)!=0){aa=uh(c[F>>2]|0,i|0,h|0)|0;if(!aa)ma(F|0,p|0);D=p}else aa=-1;if((aa|0)==1){J=v;u=D;v=J;continue}w=116}}else w=116;if((w|0)==116?(w=0,(c[r>>2]|0)==0):0){w=123;break}F=c[(c[b+17872>>2]|0)+12>>2]|0;o=0;G=o;o=0;if((G|0)!=0&(p|0)!=0){da=uh(c[G>>2]|0,i|0,h|0)|0;if(!da)ma(G|0,p|0);D=p}else da=-1;if((da|0)==1){J=v;u=D;v=J;continue}if(c[(c[j>>2]|0)+568>>2]|0){G=(c[j>>2]|0)+17344|0;c[G>>2]=(c[G>>2]|0)+1}c[F+44>>2]=1;c[F+40>>2]=1;o=0;F=o;o=0;if((F|0)!=0&(p|0)!=0){fa=uh(c[F>>2]|0,i|0,h|0)|0;if(!fa)ma(F|0,p|0);D=p}else fa=-1;if((fa|0)==1){J=v;u=D;v=J;continue}o=0;F=o;o=0;if((F|0)!=0&(p|0)!=0){ga=uh(c[F>>2]|0,i|0,h|0)|0;if(!ga)ma(F|0,p|0);D=p}else ga=-1;if((ga|0)==1){J=v;u=D;v=J}else{w=122;break}}if((w|0)==78){C=-1;jh(i|0);l=f;return C|0}else if((w|0)!=122)if((w|0)==123?(c[(c[j>>2]|0)+272>>2]=c[(c[j>>2]|0)+256>>2],c[(c[j>>2]|0)+276>>2]=c[(c[j>>2]|0)+260>>2],c[(c[j>>2]|0)+568>>2]|0):0){w=(c[j>>2]|0)+17344|0;c[w>>2]=(c[w>>2]|0)+1}c[(c[j>>2]|0)+88>>2]=0;C=0;jh(i|0);l=f;return C|0}function $f(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=a+17856|0;if((c[d>>2]|0)==1){e=-1;return e|0}c[d>>2]=1;if(!(c[a+1e3>>2]|0)){e=-1;return e|0}d=b;b=c[a+720>>2]|0;a=d+120|0;do{c[d>>2]=c[b>>2];d=d+4|0;b=b+4|0}while((d|0)<(a|0));e=0;return e|0}function ag(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;j=l;l=l+32|0;k=j;m=b+e|0;n=m+-1|0;o=(h|0)==0;if(o)p=a[n>>0]|0;else{Ga[h&63](i,n,k,1);p=a[k>>0]|0}c[g>>2]=0;n=p&255;if((n&224|0)!=192){q=0;l=j;return q|0}r=(n&7)+1|0;s=(n>>>3&3)+1|0;n=S(s,r)|0;if((n+2|0)>>>0>e>>>0){q=7;l=j;return q|0}t=-2-n|0;u=m+t|0;if(o)v=a[u>>0]|0;else{Ga[h&63](i,u,k,1);v=a[k>>0]|0}if(p<<24>>24!=v<<24>>24){q=7;l=j;return q|0}v=b+(e+1+t)|0;if(o){w=0;x=v}else{Ga[h&63](i,v,k,n);w=0;x=k}while(1){k=0;n=0;v=x;while(1){n=(d[v>>0]|0)<<(k<<3)|n;k=k+1|0;if((k|0)==(s|0))break;else v=v+1|0}c[f+(w<<2)>>2]=n;w=w+1|0;if((w|0)==(r|0))break;else x=x+s|0}c[g>>2]=r;q=0;l=j;return q|0}function bg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0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[h>>2]=j;c[f>>2]=k;Y=((k<<7)+128|0)>>>8;if((j|0)<0){db(b);ca=c[b>>2]|0;da=c[h>>2]|0}else{ca=g;da=j}j=Y<<24;if(ca>>>0<j>>>0){ea=0;fa=Y;ga=ca}else{ea=2;fa=(c[f>>2]|0)-Y|0;ga=ca-j|0}j=d[1280+fa>>0]|0;Y=fa<<j;g=ga<<j;k=da-j|0;c[b>>2]=g;c[h>>2]=k;c[f>>2]=Y;j=((Y<<7)+128|0)>>>8;if((k|0)<0){db(b);ha=c[b>>2]|0;ia=c[h>>2]|0}else{ha=g;ia=k}k=j<<24;if(ha>>>0<k>>>0){ja=0;ka=j;la=ha}else{ja=1;ka=(c[f>>2]|0)-j|0;la=ha-k|0}k=d[1280+ka>>0]|0;c[b>>2]=la<<k;c[h>>2]=ia-k;c[f>>2]=ka<<k;N=V|$|ea|ja;break}if(l){db(b);ma=c[b>>2]|0;na=c[h>>2]|0}else{ma=m;na=i}i=p<<24;if(ma>>>0<i>>>0){oa=1;pa=p;qa=ma}else{oa=0;pa=(c[f>>2]|0)-p|0;qa=ma-i|0}i=d[1280+pa>>0]|0;p=pa<<i;m=qa<<i;l=na-i|0;c[b>>2]=m;c[h>>2]=l;c[f>>2]=p;if(!oa){i=p;k=l;j=m;g=7;Y=0;do{ra=g;g=g+-1|0;sa=((i<<7)+128|0)>>>8;if((k|0)<0){db(b);ta=c[b>>2]|0;ua=c[h>>2]|0}else{ta=j;ua=k}va=sa<<24;if(ta>>>0<va>>>0){wa=0;xa=sa;ya=ta}else{wa=1;xa=(c[f>>2]|0)-sa|0;ya=ta-va|0}va=d[1280+xa>>0]|0;i=xa<<va;j=ya<<va;k=ua-va|0;c[b>>2]=j;c[h>>2]=k;c[f>>2]=i;Y=wa<<g|Y}while((ra|0)>1);if((Y|0)<65)za=Y;else{g=((i<<7)+128|0)>>>8;if((k|0)<0){db(b);Aa=c[b>>2]|0;Ba=c[h>>2]|0}else{Aa=j;Ba=k}ra=g<<24;if(Aa>>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0;Ya=Ua-g|0}g=d[1280+Xa>>0]|0;ra=Xa<<g;va=Ya<<g;sa=Va-g|0;c[b>>2]=va;c[h>>2]=sa;c[f>>2]=ra;g=((ra<<7)+128|0)>>>8;if((sa|0)<0){db(b);Za=c[b>>2]|0;_a=c[h>>2]|0}else{Za=va;_a=sa}sa=g<<24;if(Za>>>0<sa>>>0){$a=0;ab=g;bb=Za}else{$a=1;ab=(c[f>>2]|0)-g|0;bb=Za-sa|0}sa=d[1280+ab>>0]|0;c[b>>2]=bb<<sa;c[h>>2]=_a-sa;c[f>>2]=ab<<sa;N=Ha|Ma|Ra|Wa|$a}while(0);$a=d[e>>0]|0;Wa=d[31365+N>>0]|0;N=$a+-1|0;Ra=N<<1;if((Ra|0)<256){do if((Ra|0)>=(Wa|0))if(!(Wa&1)){cb=(Wa>>>1)+N|0;break}else{cb=N-((Wa+1|0)>>>1)|0;break}else cb=Wa;while(0);eb=cb+1|0}else{cb=$a^255;do if(cb<<1>>>0>=Wa>>>0)if(!(Wa&1)){fb=(Wa>>>1)+cb|0;break}else{fb=cb-((Wa+1|0)>>>1)|0;break}else fb=Wa;while(0);eb=255-fb|0}a[e>>0]=eb;return}function cg(){var a=0,b=0,d=0;a=l;l=l+16|0;b=a;d=of()|0;c[8638]=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;Oa(34556,d,b,0,10)|0;l=a;return}function dg(){return 0}function eg(){return}function fg(a,b){a=a|0;b=b|0;hh(31620)|0;return 0}function gg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;d=l;l=l+16|0;e=d;f=d+4|0;Pa(34556,a,b,0,1)|0;Pa(34556,0,0,0,1)|0;c[f>>2]=0;b=Qa(34556,f)|0;if(!b){g=0;l=d;return g|0}else{h=b;i=0}a:while(1){if(i|0){j=3;break}k=c[h>>2]|0;switch(k|0){case 258:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a>>>1;p=b>>>1;break}case 261:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a;p=b>>>1;break}case 262:{b=c[h+12>>2]|0;a=c[h+16>>2]|0;m=b;n=a;o=a;p=b;break}default:{j=8;break a}}la(c[h+48>>2]|0,c[h+64>>2]|0,c[h+52>>2]|0,c[h+68>>2]|0,c[h+56>>2]|0,c[h+72>>2]|0,m|0,n|0,p|0,o|0);h=Qa(34556,f)|0;if(!h){g=1;j=10;break}else i=1}if((j|0)==3){while(1){j=0;hh(31658)|0;if(!(Qa(34556,f)|0)){g=i;break}else j=3}l=d;return g|0}else if((j|0)==8){c[e>>2]=k;gh(31708,e)|0;g=0;l=d;return g|0}else if((j|0)==10){l=d;return g|0}return 0}function hg(){return 34584}function ig(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=pg(c[a+60>>2]|0)|0;a=lg(na(6,d|0)|0)|0;l=b;return a|0}function jg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+48|0;f=e+16|0;g=e;h=e+32|0;i=a+28|0;j=c[i>>2]|0;c[h>>2]=j;k=a+20|0;m=(c[k>>2]|0)-j|0;c[h+4>>2]=m;c[h+8>>2]=b;c[h+12>>2]=d;b=m+d|0;m=a+60|0;c[g>>2]=c[m>>2];c[g+4>>2]=h;c[g+8>>2]=2;j=lg(ta(146,g|0)|0)|0;a:do if((b|0)!=(j|0)){g=j;n=h;o=2;p=b;while(1){if((g|0)<0)break;p=p-g|0;q=c[n+4>>2]|0;r=g>>>0>q>>>0;s=r?n+8|0:n;t=(r<<31>>31)+o|0;u=g-(r?q:0)|0;c[s>>2]=(c[s>>2]|0)+u;q=s+4|0;c[q>>2]=(c[q>>2]|0)-u;c[f>>2]=c[m>>2];c[f+4>>2]=s;c[f+8>>2]=t;g=lg(ta(146,f|0)|0)|0;if((p|0)==(g|0)){v=3;break a}else{n=s;o=t}}c[a+16>>2]=0;c[i>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((o|0)==2)w=0;else w=d-(c[n+4>>2]|0)|0}else v=3;while(0);if((v|0)==3){v=c[a+44>>2]|0;c[a+16>>2]=v+(c[a+48>>2]|0);c[i>>2]=v;c[k>>2]=v;w=d}l=e;return w|0}function kg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+32|0;f=e;g=e+20|0;c[f>>2]=c[a+60>>2];c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;if((lg(sa(140,f|0)|0)|0)<0){c[g>>2]=-1;h=-1}else h=c[g>>2]|0;l=e;return h|0}function lg(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(mg()|0)>>2]=0-a;b=-1}else b=a;return b|0}function mg(){return (ng()|0)+64|0}function ng(){return og()|0}function og(){return 21244}function pg(a){a=a|0;return a|0}function qg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+32|0;g=f;c[b+36>>2]=6;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21523,c[g+8>>2]=f+16,ra(54,g|0)|0):0)a[b+75>>0]=-1;g=jg(b,d,e)|0;l=f;return g|0}function rg(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24){f=e;g=d}else{d=b;b=c;do{d=d+1|0;b=b+1|0;c=a[d>>0]|0;e=a[b>>0]|0}while(!(c<<24>>24==0?1:c<<24>>24!=e<<24>>24));f=e;g=c}return (g&255)-(f&255)|0}function sg(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;g=l;l=l+128|0;h=g+124|0;i=g;j=i;k=21616;m=j+124|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(m|0));if((d+-1|0)>>>0>2147483646)if(!d){n=1;o=h;p=4}else{c[(mg()|0)>>2]=75;q=-1}else{n=d;o=b;p=4}if((p|0)==4){p=-2-o|0;b=n>>>0>p>>>0?p:n;c[i+48>>2]=b;n=i+20|0;c[n>>2]=o;c[i+44>>2]=o;p=o+b|0;o=i+16|0;c[o>>2]=p;c[i+28>>2]=p;p=tg(i,e,f)|0;if(!b)q=p;else{b=c[n>>2]|0;a[b+(((b|0)==(c[o>>2]|0))<<31>>31)>>0]=0;q=p}}l=g;return q|0}function tg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=l;l=l+224|0;g=f+120|0;h=f+80|0;i=f;j=f+136|0;k=h;m=k+40|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[g>>2]=c[e>>2];if((ug(0,d,g,i,h)|0)<0)n=-1;else{if((c[b+76>>2]|0)>-1)o=vg(b)|0;else o=0;e=c[b>>2]|0;k=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){m=b+44|0;p=c[m>>2]|0;c[m>>2]=j;q=b+28|0;c[q>>2]=j;r=b+20|0;c[r>>2]=j;c[e>>2]=80;s=b+16|0;c[s>>2]=j+80;j=ug(b,d,g,i,h)|0;if(!p)t=j;else{va[c[b+36>>2]&7](b,0,0)|0;u=(c[r>>2]|0)==0?-1:j;c[m>>2]=p;c[e>>2]=0;c[s>>2]=0;c[q>>2]=0;c[r>>2]=0;t=u}}else t=ug(b,d,g,i,h)|0;h=c[b>>2]|0;c[b>>2]=h|k;if(o|0)wg(b);n=(h&32|0)==0?t:-1}l=f;return n|0}function ug(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0;j=l;l=l+64|0;k=j+16|0;m=j;n=j+24|0;o=j+8|0;p=j+20|0;c[k>>2]=e;q=(d|0)!=0;r=n+40|0;s=r;t=n+39|0;n=o+4|0;u=e;e=0;v=0;w=0;a:while(1){do if((e|0)>-1)if((v|0)>(2147483647-e|0)){c[(mg()|0)>>2]=75;x=-1;break}else{x=v+e|0;break}else x=e;while(0);y=a[u>>0]|0;if(!(y<<24>>24)){z=87;break}else{A=y;B=u}b:while(1){switch(A<<24>>24){case 37:{C=B;E=B;z=9;break b;break}case 0:{F=B;G=B;break b;break}default:{}}y=B+1|0;c[k>>2]=y;A=a[y>>0]|0;B=y}c:do if((z|0)==9)while(1){z=0;if((a[C+1>>0]|0)!=37){F=C;G=E;break c}y=E+1|0;H=C+2|0;c[k>>2]=H;if((a[H>>0]|0)==37){C=H;E=y;z=9}else{F=H;G=y;break}}while(0);y=G-u|0;if(q)xg(d,u,y);if(y|0){u=F;e=x;v=y;continue}y=F+1|0;H=(a[y>>0]|0)+-48|0;if(H>>>0<10){I=(a[F+2>>0]|0)==36;J=I?H:-1;K=I?1:w;L=I?F+3|0:y}else{J=-1;K=w;L=y}c[k>>2]=L;y=a[L>>0]|0;I=(y<<24>>24)+-32|0;d:do if(I>>>0<32){H=y;M=0;N=L;O=I;while(1){P=1<<O;if(!(P&75913)){Q=H;R=N;S=M;break d}T=P|M;P=N+1|0;c[k>>2]=P;U=a[P>>0]|0;O=(U<<24>>24)+-32|0;if(O>>>0>=32){Q=U;R=P;S=T;break}else{H=U;M=T;N=P}}}else{Q=y;R=L;S=0}while(0);if(Q<<24>>24==42){y=R+1|0;I=(a[y>>0]|0)+-48|0;if(I>>>0<10?(a[R+2>>0]|0)==36:0){c[i+(I<<2)>>2]=10;V=1;W=R+3|0;X=c[g+((a[y>>0]|0)+-48<<3)>>2]|0}else{if(K|0){Y=-1;break}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);N=c[I>>2]|0;c[f>>2]=I+4;V=0;W=y;X=N}else{V=0;W=y;X=0}}c[k>>2]=W;y=(X|0)<0;Z=W;_=y?S|8192:S;$=V;aa=y?0-X|0:X}else{y=yg(k)|0;if((y|0)<0){Y=-1;break}Z=c[k>>2]|0;_=S;$=K;aa=y}do if((a[Z>>0]|0)==46){if((a[Z+1>>0]|0)!=42){c[k>>2]=Z+1;y=yg(k)|0;ba=c[k>>2]|0;ca=y;break}y=Z+2|0;N=(a[y>>0]|0)+-48|0;if(N>>>0<10?(a[Z+3>>0]|0)==36:0){c[i+(N<<2)>>2]=10;N=c[g+((a[y>>0]|0)+-48<<3)>>2]|0;I=Z+4|0;c[k>>2]=I;ba=I;ca=N;break}if($|0){Y=-1;break a}if(q){N=(c[f>>2]|0)+(4-1)&~(4-1);I=c[N>>2]|0;c[f>>2]=N+4;da=I}else da=0;c[k>>2]=y;ba=y;ca=da}else{ba=Z;ca=-1}while(0);y=ba;I=0;while(1){if(((a[y>>0]|0)+-65|0)>>>0>57){Y=-1;break a}ea=y+1|0;c[k>>2]=ea;fa=a[(a[y>>0]|0)+-65+(31753+(I*58|0))>>0]|0;ga=fa&255;if((ga+-1|0)>>>0<8){y=ea;I=ga}else break}if(!(fa<<24>>24)){Y=-1;break}N=(J|0)>-1;do if(fa<<24>>24==19)if(N){Y=-1;break a}else z=49;else{if(N){c[i+(J<<2)>>2]=ga;M=g+(J<<3)|0;H=c[M+4>>2]|0;O=m;c[O>>2]=c[M>>2];c[O+4>>2]=H;z=49;break}if(!q){Y=0;break a}zg(m,ga,f)}while(0);if((z|0)==49?(z=0,!q):0){u=ea;e=x;v=0;w=$;continue}N=a[y>>0]|0;H=(I|0)!=0&(N&15|0)==3?N&-33:N;N=_&-65537;O=(_&8192|0)==0?_:N;e:do switch(H|0){case 110:{switch((I&255)<<24>>24){case 0:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 1:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 2:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}case 3:{b[c[m>>2]>>1]=x;u=ea;e=x;v=0;w=$;continue a;break}case 4:{a[c[m>>2]>>0]=x;u=ea;e=x;v=0;w=$;continue a;break}case 6:{c[c[m>>2]>>2]=x;u=ea;e=x;v=0;w=$;continue a;break}case 7:{M=c[m>>2]|0;c[M>>2]=x;c[M+4>>2]=((x|0)<0)<<31>>31;u=ea;e=x;v=0;w=$;continue a;break}default:{u=ea;e=x;v=0;w=$;continue a}}break}case 112:{ha=O|8;ia=ca>>>0>8?ca:8;ja=120;z=61;break}case 88:case 120:{ha=O;ia=ca;ja=H;z=61;break}case 111:{M=m;P=c[M>>2]|0;T=c[M+4>>2]|0;M=Bg(P,T,r)|0;U=s-M|0;ka=P;la=T;ma=M;na=O;oa=(O&8|0)==0|(ca|0)>(U|0)?ca:U+1|0;pa=0;qa=32217;z=67;break}case 105:case 100:{U=m;M=c[U>>2]|0;T=c[U+4>>2]|0;if((T|0)<0){U=oh(0,0,M|0,T|0)|0;P=D;ra=m;c[ra>>2]=U;c[ra+4>>2]=P;sa=U;ta=P;ua=1;va=32217;z=66;break e}else{sa=M;ta=T;ua=(O&2049|0)!=0&1;va=(O&2048|0)==0?((O&1|0)==0?32217:32219):32218;z=66;break e}break}case 117:{T=m;sa=c[T>>2]|0;ta=c[T+4>>2]|0;ua=0;va=32217;z=66;break}case 99:{a[t>>0]=c[m>>2];wa=t;xa=N;ya=1;za=0;Aa=32217;Ba=r;break}case 109:{Ca=Dg(c[(mg()|0)>>2]|0)|0;z=71;break}case 115:{T=c[m>>2]|0;Ca=T|0?T:32227;z=71;break}case 67:{c[o>>2]=c[m>>2];c[n>>2]=0;c[m>>2]=o;Da=o;Ea=-1;z=75;break}case 83:{T=c[m>>2]|0;if(!ca){Fg(d,32,aa,0,O);Fa=0;z=84}else{Da=T;Ea=ca;z=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{u=ea;e=x;v=Hg(d,+h[m>>3],aa,ca,O,H)|0;w=$;continue a;break}default:{wa=u;xa=O;ya=ca;za=0;Aa=32217;Ba=r}}while(0);f:do if((z|0)==61){z=0;H=m;I=c[H>>2]|0;y=c[H+4>>2]|0;H=Ag(I,y,r,ja&32)|0;T=(ha&8|0)==0|(I|0)==0&(y|0)==0;ka=I;la=y;ma=H;na=ha;oa=ia;pa=T?0:2;qa=T?32217:32217+(ja>>4)|0;z=67}else if((z|0)==66){z=0;ka=sa;la=ta;ma=Cg(sa,ta,r)|0;na=O;oa=ca;pa=ua;qa=va;z=67}else if((z|0)==71){z=0;T=Eg(Ca,0,ca)|0;H=(T|0)==0;wa=Ca;xa=N;ya=H?ca:T-Ca|0;za=0;Aa=32217;Ba=H?Ca+ca|0:T}else if((z|0)==75){z=0;T=0;H=0;y=Da;while(1){I=c[y>>2]|0;if(!I){Ga=T;Ha=H;break}M=Gg(p,I)|0;if((M|0)<0|M>>>0>(Ea-T|0)>>>0){Ga=T;Ha=M;break}I=M+T|0;if(Ea>>>0>I>>>0){T=I;H=M;y=y+4|0}else{Ga=I;Ha=M;break}}if((Ha|0)<0){Y=-1;break a}Fg(d,32,aa,Ga,O);if(!Ga){Fa=0;z=84}else{y=0;H=Da;while(1){T=c[H>>2]|0;if(!T){Fa=Ga;z=84;break f}M=Gg(p,T)|0;y=M+y|0;if((y|0)>(Ga|0)){Fa=Ga;z=84;break f}xg(d,p,M);if(y>>>0>=Ga>>>0){Fa=Ga;z=84;break}else H=H+4|0}}}while(0);if((z|0)==67){z=0;N=(ka|0)!=0|(la|0)!=0;H=(oa|0)!=0|N;y=((N^1)&1)+(s-ma)|0;wa=H?ma:r;xa=(oa|0)>-1?na&-65537:na;ya=H?((oa|0)>(y|0)?oa:y):oa;za=pa;Aa=qa;Ba=r}else if((z|0)==84){z=0;Fg(d,32,aa,Fa,O^8192);u=ea;e=x;v=(aa|0)>(Fa|0)?aa:Fa;w=$;continue}y=Ba-wa|0;H=(ya|0)<(y|0)?y:ya;N=H+za|0;M=(aa|0)<(N|0)?N:aa;Fg(d,32,M,N,xa);xg(d,Aa,za);Fg(d,48,M,N,xa^65536);Fg(d,48,H,y,0);xg(d,wa,y);Fg(d,32,M,N,xa^8192);u=ea;e=x;v=M;w=$}g:do if((z|0)==87)if(!d)if(!w)Y=0;else{$=1;while(1){v=c[i+($<<2)>>2]|0;if(!v){Ia=$;break}zg(g+($<<3)|0,v,f);$=$+1|0;if(($|0)>=10){Y=1;break g}}while(1){if(c[i+(Ia<<2)>>2]|0){Y=-1;break g}Ia=Ia+1|0;if((Ia|0)>=10){Y=1;break}}}else Y=x;while(0);l=j;return Y|0}function vg(a){a=a|0;return 0}function wg(a){a=a|0;return}function xg(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))Tg(b,d,a)|0;return}function yg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=(a[d>>0]|0)+-48|0;if(e>>>0<10){f=d;d=0;g=e;while(1){e=g+(d*10|0)|0;f=f+1|0;c[b>>2]=f;g=(a[f>>0]|0)+-48|0;if(g>>>0>=10){h=e;break}else d=e}}else h=0;return h|0}function zg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f;break a;break}case 10:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a;break}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=f;c[e+4>>2]=0;break a;break}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);f=e;g=c[f>>2]|0;i=c[f+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=g;c[e+4>>2]=i;break a;break}case 13:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&65535)<<16>>16;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 14:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&65535;c[i+4>>2]=0;break a;break}case 15:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&255)<<24>>24;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 16:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&255;c[i+4>>2]=0;break a;break}case 17:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}case 18:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}default:break a}while(0);while(0);return}function Ag(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;if((b|0)==0&(c|0)==0)g=e;else{h=b;b=c;c=e;while(1){e=c+-1|0;a[e>>0]=d[32269+(h&15)>>0]|0|f;h=rh(h|0,b|0,4)|0;b=D;if((h|0)==0&(b|0)==0){g=e;break}else c=e}}return g|0}function Bg(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)==0&(c|0)==0)e=d;else{f=b;b=c;c=d;while(1){d=c+-1|0;a[d>>0]=f&7|48;f=rh(f|0,b|0,3)|0;b=D;if((f|0)==0&(b|0)==0){e=d;break}else c=d}}return e|0}function Cg(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=b;f=c;c=d;while(1){g=Dh(e|0,f|0,10,0)|0;c=c+-1|0;a[c>>0]=g&255|48;g=e;e=yh(e|0,f|0,10,0)|0;if(!(f>>>0>9|(f|0)==9&g>>>0>4294967295))break;else f=D}h=c;i=e}else{h=d;i=b}if(!i)j=h;else{b=h;h=i;while(1){i=b+-1|0;a[i>>0]=(h>>>0)%10|0|48;if(h>>>0<10){j=i;break}else{b=i;h=(h>>>0)/10|0}}}return j|0}function Dg(a){a=a|0;return Og(a,c[(Ng()|0)+188>>2]|0)|0}function Eg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=e;j=b;while(1){if((a[j>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=j+1|0;o=i+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=o;j=n}else{q=o;r=n;s=p;m=5;break}}}else{q=e;r=b;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else{t=0;u=r}b:do if((m|0)==6){r=d&255;if((a[l>>0]|0)==r<<24>>24){t=k;u=l}else{q=S(f,16843009)|0;c:do if(k>>>0>3){s=k;g=l;while(1){b=c[g>>2]^q;if((b&-2139062144^-2139062144)&b+-16843009|0)break;b=g+4|0;e=s+-4|0;if(e>>>0>3){s=e;g=b}else{v=e;w=b;m=11;break c}}x=s;y=g}else{v=k;w=l;m=11}while(0);if((m|0)==11)if(!v){t=0;u=w;break}else{x=v;y=w}while(1){if((a[y>>0]|0)==r<<24>>24){t=x;u=y;break b}q=y+1|0;x=x+-1|0;if(!x){t=0;u=q;break}else y=q}}}while(0);return (t|0?u:0)|0}function Fg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=l;l=l+256|0;g=f;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;qh(g|0,b|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;d=e;do{xg(a,g,256);d=d+-256|0}while(d>>>0>255);h=b&255}else h=e;xg(a,g,h)}l=f;return}function Gg(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=Lg(a,b,0)|0;return c|0}function Hg(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,E=0.0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0.0,fa=0.0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;j=l;l=l+560|0;k=j+8|0;m=j;n=j+524|0;o=n;p=j+512|0;c[m>>2]=0;q=p+12|0;Ig(e)|0;if((D|0)<0){r=1;s=32234;t=-e}else{r=(h&2049|0)!=0&1;s=(h&2048|0)==0?((h&1|0)==0?32235:32240):32237;t=e}Ig(t)|0;u=D&2146435072;do if(u>>>0<2146435072|(u|0)==2146435072&0<0){e=+Jg(t,m)*2.0;v=e!=0.0;if(v)c[m>>2]=(c[m>>2]|0)+-1;w=i|32;if((w|0)==97){x=i&32;y=(x|0)==0?s:s+9|0;z=r|2;A=12-g|0;do if(!(g>>>0>11|(A|0)==0)){B=A;C=8.0;do{B=B+-1|0;C=C*16.0}while((B|0)!=0);if((a[y>>0]|0)==45){E=-(C+(-e-C));break}else{E=e+C-C;break}}else E=e;while(0);A=c[m>>2]|0;B=(A|0)<0?0-A|0:A;F=Cg(B,((B|0)<0)<<31>>31,q)|0;if((F|0)==(q|0)){B=p+11|0;a[B>>0]=48;G=B}else G=F;a[G+-1>>0]=(A>>31&2)+43;A=G+-2|0;a[A>>0]=i+15;F=(g|0)<1;B=(h&8|0)==0;H=n;I=E;while(1){J=~~I;K=H+1|0;a[H>>0]=d[32269+J>>0]|x;I=(I-+(J|0))*16.0;if((K-o|0)==1?!(B&(F&I==0.0)):0){a[K>>0]=46;L=H+2|0}else L=K;if(!(I!=0.0))break;else H=L}H=L-o|0;F=q-A|0;B=(g|0)!=0&(H+-2|0)<(g|0)?g+2|0:H;x=F+z+B|0;Fg(b,32,f,x,h);xg(b,y,z);Fg(b,48,f,x,h^65536);xg(b,n,H);Fg(b,48,B-H|0,0,0);xg(b,A,F);Fg(b,32,f,x,h^8192);M=x;break}x=(g|0)<0?6:g;if(v){F=(c[m>>2]|0)+-28|0;c[m>>2]=F;N=F;O=e*268435456.0}else{N=c[m>>2]|0;O=e}F=(N|0)<0?k:k+288|0;I=O;H=F;do{B=~~I>>>0;c[H>>2]=B;H=H+4|0;I=(I-+(B>>>0))*1.0e9}while(I!=0.0);if((N|0)>0){v=N;A=F;z=H;while(1){y=(v|0)<29?v:29;B=z+-4|0;if(B>>>0>=A>>>0){K=0;J=B;do{B=sh(c[J>>2]|0,0,y|0)|0;P=ph(B|0,D|0,K|0,0)|0;B=D;Q=Dh(P|0,B|0,1e9,0)|0;c[J>>2]=Q;K=yh(P|0,B|0,1e9,0)|0;J=J+-4|0}while(J>>>0>=A>>>0);if(K){J=A+-4|0;c[J>>2]=K;R=J}else R=A}else R=A;J=z;while(1){if(J>>>0<=R>>>0)break;B=J+-4|0;if(!(c[B>>2]|0))J=B;else break}K=(c[m>>2]|0)-y|0;c[m>>2]=K;if((K|0)>0){v=K;A=R;z=J}else{T=K;U=R;V=J;break}}}else{T=N;U=F;V=H}if((T|0)<0){z=((x+25|0)/9|0)+1|0;A=(w|0)==102;v=T;K=U;B=V;while(1){P=0-v|0;Q=(P|0)<9?P:9;if(K>>>0<B>>>0){P=(1<<Q)+-1|0;W=1e9>>>Q;X=0;Y=K;do{Z=c[Y>>2]|0;c[Y>>2]=(Z>>>Q)+X;X=S(Z&P,W)|0;Y=Y+4|0}while(Y>>>0<B>>>0);Y=(c[K>>2]|0)==0?K+4|0:K;if(!X){_=Y;$=B}else{c[B>>2]=X;_=Y;$=B+4|0}}else{_=(c[K>>2]|0)==0?K+4|0:K;$=B}Y=A?F:_;W=($-Y>>2|0)>(z|0)?Y+(z<<2)|0:$;v=(c[m>>2]|0)+Q|0;c[m>>2]=v;if((v|0)>=0){aa=_;ba=W;break}else{K=_;B=W}}}else{aa=U;ba=V}B=F;if(aa>>>0<ba>>>0){K=(B-aa>>2)*9|0;v=c[aa>>2]|0;if(v>>>0<10)ca=K;else{z=K;K=10;while(1){K=K*10|0;A=z+1|0;if(v>>>0<K>>>0){ca=A;break}else z=A}}}else ca=0;z=(w|0)==103;K=(x|0)!=0;v=x-((w|0)!=102?ca:0)+((K&z)<<31>>31)|0;if((v|0)<(((ba-B>>2)*9|0)+-9|0)){A=v+9216|0;v=F+4+(((A|0)/9|0)+-1024<<2)|0;H=((A|0)%9|0)+1|0;if((H|0)<9){A=10;W=H;while(1){H=A*10|0;W=W+1|0;if((W|0)==9){da=H;break}else A=H}}else da=10;A=c[v>>2]|0;W=(A>>>0)%(da>>>0)|0;w=(v+4|0)==(ba|0);if(!(w&(W|0)==0)){C=(((A>>>0)/(da>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;H=(da|0)/2|0;I=W>>>0<H>>>0?.5:w&(W|0)==(H|0)?1.0:1.5;if(!r){ea=C;fa=I}else{H=(a[s>>0]|0)==45;ea=H?-C:C;fa=H?-I:I}H=A-W|0;c[v>>2]=H;if(ea+fa!=ea){W=H+da|0;c[v>>2]=W;if(W>>>0>999999999){W=aa;H=v;while(1){A=H+-4|0;c[H>>2]=0;if(A>>>0<W>>>0){w=W+-4|0;c[w>>2]=0;ga=w}else ga=W;w=(c[A>>2]|0)+1|0;c[A>>2]=w;if(w>>>0>999999999){W=ga;H=A}else{ha=ga;ia=A;break}}}else{ha=aa;ia=v}H=(B-ha>>2)*9|0;W=c[ha>>2]|0;if(W>>>0<10){ja=ha;ka=ia;la=H}else{A=H;H=10;while(1){H=H*10|0;w=A+1|0;if(W>>>0<H>>>0){ja=ha;ka=ia;la=w;break}else A=w}}}else{ja=aa;ka=v;la=ca}}else{ja=aa;ka=v;la=ca}A=ka+4|0;ma=ja;na=la;oa=ba>>>0>A>>>0?A:ba}else{ma=aa;na=ca;oa=ba}A=oa;while(1){if(A>>>0<=ma>>>0){pa=0;break}H=A+-4|0;if(!(c[H>>2]|0))A=H;else{pa=1;break}}v=0-na|0;do if(z){H=((K^1)&1)+x|0;if((H|0)>(na|0)&(na|0)>-5){qa=H+-1-na|0;ra=i+-1|0}else{qa=H+-1|0;ra=i+-2|0}H=h&8;if(!H){if(pa?(W=c[A+-4>>2]|0,(W|0)!=0):0)if(!((W>>>0)%10|0)){w=10;Y=0;while(1){w=w*10|0;P=Y+1|0;if((W>>>0)%(w>>>0)|0|0){sa=P;break}else Y=P}}else sa=0;else sa=9;Y=((A-B>>2)*9|0)+-9|0;if((ra|32|0)==102){w=Y-sa|0;W=(w|0)>0?w:0;ta=0;ua=(qa|0)<(W|0)?qa:W;va=ra;break}else{W=Y+na-sa|0;Y=(W|0)>0?W:0;ta=0;ua=(qa|0)<(Y|0)?qa:Y;va=ra;break}}else{ta=H;ua=qa;va=ra}}else{ta=h&8;ua=x;va=i}while(0);x=ua|ta;B=(x|0)!=0&1;K=(va|32|0)==102;if(K){wa=0;xa=(na|0)>0?na:0}else{z=(na|0)<0?v:na;Y=Cg(z,((z|0)<0)<<31>>31,q)|0;z=q;if((z-Y|0)<2){W=Y;while(1){w=W+-1|0;a[w>>0]=48;if((z-w|0)<2)W=w;else{ya=w;break}}}else ya=Y;a[ya+-1>>0]=(na>>31&2)+43;W=ya+-2|0;a[W>>0]=va;wa=W;xa=z-W|0}W=r+1+ua+B+xa|0;Fg(b,32,f,W,h);xg(b,s,r);Fg(b,48,f,W,h^65536);if(K){v=ma>>>0>F>>>0?F:ma;w=n+9|0;Q=w;X=n+8|0;P=v;do{J=Cg(c[P>>2]|0,0,w)|0;if((P|0)==(v|0))if((J|0)==(w|0)){a[X>>0]=48;za=X}else za=J;else if(J>>>0>n>>>0){qh(n|0,48,J-o|0)|0;y=J;while(1){Z=y+-1|0;if(Z>>>0>n>>>0)y=Z;else{za=Z;break}}}else za=J;xg(b,za,Q-za|0);P=P+4|0}while(P>>>0<=F>>>0);if(x|0)xg(b,32285,1);if(P>>>0<A>>>0&(ua|0)>0){F=P;Q=ua;while(1){X=Cg(c[F>>2]|0,0,w)|0;if(X>>>0>n>>>0){qh(n|0,48,X-o|0)|0;v=X;while(1){K=v+-1|0;if(K>>>0>n>>>0)v=K;else{Aa=K;break}}}else Aa=X;xg(b,Aa,(Q|0)<9?Q:9);F=F+4|0;v=Q+-9|0;if(!(F>>>0<A>>>0&(Q|0)>9)){Ba=v;break}else Q=v}}else Ba=ua;Fg(b,48,Ba+9|0,9,0)}else{Q=pa?A:ma+4|0;if((ua|0)>-1){F=n+9|0;w=(ta|0)==0;P=F;x=0-o|0;v=n+8|0;J=ma;K=ua;while(1){B=Cg(c[J>>2]|0,0,F)|0;if((B|0)==(F|0)){a[v>>0]=48;Ca=v}else Ca=B;do if((J|0)==(ma|0)){B=Ca+1|0;xg(b,Ca,1);if(w&(K|0)<1){Da=B;break}xg(b,32285,1);Da=B}else{if(Ca>>>0<=n>>>0){Da=Ca;break}qh(n|0,48,Ca+x|0)|0;B=Ca;while(1){z=B+-1|0;if(z>>>0>n>>>0)B=z;else{Da=z;break}}}while(0);X=P-Da|0;xg(b,Da,(K|0)>(X|0)?X:K);B=K-X|0;J=J+4|0;if(!(J>>>0<Q>>>0&(B|0)>-1)){Ea=B;break}else K=B}}else Ea=ua;Fg(b,48,Ea+18|0,18,0);xg(b,wa,q-wa|0)}Fg(b,32,f,W,h^8192);M=W}else{K=(i&32|0)!=0;Q=r+3|0;Fg(b,32,f,Q,h&-65537);xg(b,s,r);xg(b,t!=t|0.0!=0.0?(K?32261:32265):K?32253:32257,3);Fg(b,32,f,Q,h^8192);M=Q}while(0);l=j;return ((M|0)<(f|0)?f:M)|0}function Ig(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;D=c[j+4>>2]|0;return b|0}function Jg(a,b){a=+a;b=b|0;return +(+Kg(a,b))}function Kg(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0.0,i=0,k=0.0,l=0.0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=rh(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){g=+Kg(a*18446744073709551616.0,b);i=(c[b>>2]|0)+-64|0;k=g}else{i=0;k=a}c[b>>2]=i;l=k;break}case 2047:{l=a;break}default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;l=+h[j>>3]}}return +l}function Lg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(!(c[c[(Mg()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;f=1;break}else{c[(mg()|0)>>2]=84;f=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;f=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;f=4;break}else{c[(mg()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function Mg(){return og()|0}function Ng(){return og()|0}function Og(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=0;while(1){if((d[32287+f>>0]|0)==(b|0)){g=2;break}h=f+1|0;if((h|0)==87){i=87;j=32375;g=5;break}else f=h}if((g|0)==2)if(!f)k=32375;else{i=f;j=32375;g=5}if((g|0)==5)while(1){g=0;f=j;do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);i=i+-1|0;if(!i){k=f;break}else{j=f;g=5}}return Pg(k,c[e+20>>2]|0)|0}function Pg(a,b){a=a|0;b=b|0;return Qg(a,b)|0}function Qg(a,b){a=a|0;b=b|0;var d=0;if(!b)d=0;else d=Rg(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (d|0?d:a)|0}function Rg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=(c[b>>2]|0)+1794895138|0;g=Sg(c[b+8>>2]|0,f)|0;h=Sg(c[b+12>>2]|0,f)|0;i=Sg(c[b+16>>2]|0,f)|0;a:do if((g>>>0<d>>>2>>>0?(j=d-(g<<2)|0,h>>>0<j>>>0&i>>>0<j>>>0):0)?((i|h)&3|0)==0:0){j=h>>>2;k=i>>>2;l=0;m=g;while(1){n=m>>>1;o=l+n|0;p=o<<1;q=p+j|0;r=Sg(c[b+(q<<2)>>2]|0,f)|0;s=Sg(c[b+(q+1<<2)>>2]|0,f)|0;if(!(s>>>0<d>>>0&r>>>0<(d-s|0)>>>0)){t=0;break a}if(a[b+(s+r)>>0]|0){t=0;break a}r=rg(e,b+s|0)|0;if(!r)break;s=(r|0)<0;if((m|0)==1){t=0;break a}else{l=s?l:o;m=s?n:m-n|0}}m=p+k|0;l=Sg(c[b+(m<<2)>>2]|0,f)|0;j=Sg(c[b+(m+1<<2)>>2]|0,f)|0;if(j>>>0<d>>>0&l>>>0<(d-j|0)>>>0)t=(a[b+(j+l)>>0]|0)==0?b+j|0:0;else t=0}else t=0;while(0);return t|0}function Sg(a,b){a=a|0;b=b|0;var c=0;c=Eh(a|0)|0;return ((b|0)==0?a:c)|0}function Tg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(Ug(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0<d>>>0){j=va[c[e+36>>2]&7](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){l=k;m=0;n=d;o=b;break b}p=f+-1|0;if((a[b+p>>0]|0)==10)break;else f=p}p=va[c[e+36>>2]&7](e,b,f)|0;if(p>>>0<f>>>0){j=p;break a}l=c[g>>2]|0;m=f;n=d-f|0;o=b+f|0}else{l=k;m=0;n=d;o=b}while(0);vh(l|0,o|0,n|0)|0;c[g>>2]=(c[g>>2]|0)+n;j=m+n|0}while(0);return j|0}function Ug(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function Vg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+20|0;f=c[e>>2]|0;g=(c[a+16>>2]|0)-f|0;a=g>>>0>d>>>0?d:g;vh(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function Wg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=l;l=l+208|0;g=f+8|0;h=f;i=S(d,b)|0;b=h;c[b>>2]=1;c[b+4>>2]=0;a:do if(i|0){b=0-d|0;c[g+4>>2]=d;c[g>>2]=d;j=d;k=d;m=2;while(1){n=j+d+k|0;c[g+(m<<2)>>2]=n;if(n>>>0<i>>>0){o=k;k=n;m=m+1|0;j=o}else break}j=a+i+b|0;if(j>>>0>a>>>0){m=j;k=1;o=a;n=1;while(1){do if((k&3|0)!=3){p=n+-1|0;if((c[g+(p<<2)>>2]|0)>>>0<(m-o|0)>>>0)Xg(o,d,e,n,g);else Zg(o,d,e,h,n,0,g);if((n|0)==1){_g(h,1);q=0;break}else{_g(h,p);q=1;break}}else{Xg(o,d,e,n,g);Yg(h,2);q=n+2|0}while(0);p=c[h>>2]|1;c[h>>2]=p;r=o+d|0;if(r>>>0<j>>>0){k=p;o=r;n=q}else{s=p;t=r;u=q;break}}}else{s=1;t=a;u=1}Zg(t,d,e,h,u,0,g);n=h+4|0;o=s;k=t;j=u;while(1){if((j|0)==1&(o|0)==1){if(!(c[n>>2]|0))break a}else if((j|0)>=2){_g(h,2);m=j+-2|0;c[h>>2]=c[h>>2]^7;Yg(h,1);Zg(k+(0-(c[g+(m<<2)>>2]|0))+b|0,d,e,h,j+-1|0,1,g);_g(h,1);r=c[h>>2]|1;c[h>>2]=r;p=k+b|0;Zg(p,d,e,h,m,1,g);o=r;k=p;j=m;continue}m=$g(h)|0;Yg(h,m);o=c[h>>2]|0;k=k+b|0;j=m+j|0}}while(0);l=f;return}function Xg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=l;l=l+240|0;h=g;c[h>>2]=a;a:do if((e|0)>1){i=0-b|0;j=a;k=a;m=1;n=e;while(1){o=k+i|0;p=n+-2|0;q=o+(0-(c[f+(p<<2)>>2]|0))|0;if((Ea[d&31](j,q)|0)>-1?(Ea[d&31](j,o)|0)>-1:0){r=m;break a}s=m+1|0;t=h+(m<<2)|0;if((Ea[d&31](q,o)|0)>-1){c[t>>2]=q;u=q;v=n+-1|0}else{c[t>>2]=o;u=o;v=p}if((v|0)<=1){r=s;break a}j=c[h>>2]|0;k=u;m=s;n=v}}else r=1;while(0);bh(b,h,r);l=g;return}function Yg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+4|0;if(b>>>0>31){e=c[d>>2]|0;c[a>>2]=e;c[d>>2]=0;f=e;g=0;h=b+-32|0}else{f=c[a>>2]|0;g=c[d>>2]|0;h=b}c[a>>2]=g<<32-h|f>>>h;c[d>>2]=g>>>h;return}function Zg(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=l;l=l+240|0;j=i+232|0;k=i;m=c[e>>2]|0;c[j>>2]=m;n=c[e+4>>2]|0;e=j+4|0;c[e>>2]=n;c[k>>2]=a;a:do if((m|0)!=1|(n|0)!=0?(o=0-b|0,p=a+(0-(c[h+(f<<2)>>2]|0))|0,(Ea[d&31](p,a)|0)>=1):0){q=p;p=a;r=1;s=f;t=(g|0)==0;while(1){if(t&(s|0)>1){u=p+o|0;v=c[h+(s+-2<<2)>>2]|0;if((Ea[d&31](u,q)|0)>-1){w=p;x=r;y=s;z=10;break a}if((Ea[d&31](u+(0-v)|0,q)|0)>-1){w=p;x=r;y=s;z=10;break a}}v=r+1|0;c[k+(r<<2)>>2]=q;u=$g(j)|0;Yg(j,u);A=u+s|0;if(!((c[j>>2]|0)!=1|(c[e>>2]|0)!=0)){w=q;x=v;y=A;z=10;break a}u=q+(0-(c[h+(A<<2)>>2]|0))|0;if((Ea[d&31](u,c[k>>2]|0)|0)<1){B=q;C=v;D=A;E=0;z=9;break}else{F=q;q=u;r=v;s=A;t=1;p=F}}}else{B=a;C=1;D=f;E=g;z=9}while(0);if((z|0)==9?(E|0)==0:0){w=B;x=C;y=D;z=10}if((z|0)==10){bh(b,k,x);Xg(w,b,d,y,h)}l=i;return}function _g(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[d>>2]=e;c[a>>2]=0;f=e;g=0;h=b+-32|0}else{f=c[d>>2]|0;g=c[a>>2]|0;h=b}c[d>>2]=g>>>(32-h|0)|f<<h;c[a>>2]=g<<h;return}function $g(a){a=a|0;var b=0,d=0;b=ah((c[a>>2]|0)+-1|0)|0;if(!b){d=ah(c[a+4>>2]|0)|0;return ((d|0)==0?0:d+32|0)|0}else return b|0;return 0}function ah(a){a=a|0;var b=0,c=0,d=0;if(a)if(!(a&1)){b=0;c=a;while(1){a=b+1|0;c=c>>>1;if(c&1|0){d=a;break}else b=a}}else d=0;else d=32;return d|0}function bh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;e=l;l=l+256|0;f=e;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=f,a|0):0){h=f;i=a;while(1){j=i>>>0<256?i:256;vh(h|0,c[b>>2]|0,j|0)|0;k=0;do{m=b+(k<<2)|0;k=k+1|0;vh(c[m>>2]|0,c[b+(k<<2)>>2]|0,j|0)|0;c[m>>2]=(c[m>>2]|0)+j}while((k|0)!=(d|0));k=i-j|0;if(!k)break a;h=c[g>>2]|0;i=k}}while(0);l=e;return}function ch(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b;a:do if(!(d&3)){e=b;f=4}else{g=d;h=b;while(1){if(!(a[h>>0]|0)){i=g;break a}j=h+1|0;g=j;if(!(g&3)){e=j;f=4;break}else h=j}}while(0);if((f|0)==4){f=e;while(1){k=c[f>>2]|0;if(!((k&-2139062144^-2139062144)&k+-16843009))f=f+4|0;else break}if(!((k&255)<<24>>24))l=f;else{k=f;while(1){f=k+1|0;if(!(a[f>>0]|0)){l=f;break}else k=f}}i=l}return i-d|0}function dh(a,b){a=a|0;b=b|0;var c=0;c=ch(a)|0;return ((eh(a,1,c,b)|0)!=(c|0))<<31>>31|0}function eh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=S(d,b)|0;g=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){d=(vg(e)|0)==0;h=Tg(a,f,e)|0;if(d)i=h;else{wg(e);i=h}}else i=Tg(a,f,e)|0;if((i|0)==(f|0))j=g;else j=(i>>>0)/(b>>>0)|0;return j|0}function fh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=e&255;a[g>>0]=h;i=b+16|0;j=c[i>>2]|0;if(!j)if(!(Ug(b)|0)){k=c[i>>2]|0;m=4}else n=-1;else{k=j;m=4}do if((m|0)==4){j=b+20|0;i=c[j>>2]|0;if(i>>>0<k>>>0?(o=e&255,(o|0)!=(a[b+75>>0]|0)):0){c[j>>2]=i+1;a[i>>0]=h;n=o;break}if((va[c[b+36>>2]&7](b,g,1)|0)==1)n=d[g>>0]|0;else n=-1}while(0);l=f;return n|0}function gh(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;b=tg(c[5372]|0,a,e)|0;l=d;return b|0}function hh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[5372]|0;if((c[d+76>>2]|0)>-1)e=vg(d)|0;else e=0;do if((dh(b,d)|0)<0)f=1;else{if((a[d+75>>0]|0)!=10?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=10;f=0;break}f=(fh(d,10)|0)<0}while(0);if(e|0)wg(d);return f<<31>>31|0}
function ih(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;b=l;l=l+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[8662]|0;h=g>>>f;if(h&3|0){i=(h&1^1)+f|0;j=34688+(i<<1<<2)|0;k=j+8|0;m=c[k>>2]|0;n=m+8|0;o=c[n>>2]|0;do if((j|0)!=(o|0)){if(o>>>0<(c[8666]|0)>>>0)pa();p=o+12|0;if((c[p>>2]|0)==(m|0)){c[p>>2]=j;c[k>>2]=o;break}else pa()}else c[8662]=g&~(1<<i);while(0);o=i<<3;c[m+4>>2]=o|3;k=m+o+4|0;c[k>>2]=c[k>>2]|1;q=n;l=b;return q|0}k=c[8664]|0;if(e>>>0>k>>>0){if(h|0){o=2<<f;j=h<<f&(o|0-o);o=(j&0-j)+-1|0;j=o>>>12&16;p=o>>>j;o=p>>>5&8;r=p>>>o;p=r>>>2&4;s=r>>>p;r=s>>>1&2;t=s>>>r;s=t>>>1&1;u=(o|j|p|r|s)+(t>>>s)|0;s=34688+(u<<1<<2)|0;t=s+8|0;r=c[t>>2]|0;p=r+8|0;j=c[p>>2]|0;do if((s|0)!=(j|0)){if(j>>>0<(c[8666]|0)>>>0)pa();o=j+12|0;if((c[o>>2]|0)==(r|0)){c[o>>2]=s;c[t>>2]=j;v=g;break}else pa()}else{o=g&~(1<<u);c[8662]=o;v=o}while(0);j=(u<<3)-e|0;c[r+4>>2]=e|3;t=r+e|0;c[t+4>>2]=j|1;c[t+j>>2]=j;if(k|0){s=c[8667]|0;f=k>>>3;h=34688+(f<<1<<2)|0;n=1<<f;if(v&n){f=h+8|0;m=c[f>>2]|0;if(m>>>0<(c[8666]|0)>>>0)pa();else{w=f;x=m}}else{c[8662]=v|n;w=h+8|0;x=h}c[w>>2]=s;c[x+12>>2]=s;c[s+8>>2]=x;c[s+12>>2]=h}c[8664]=j;c[8667]=t;q=p;l=b;return q|0}t=c[8663]|0;if(t){j=(t&0-t)+-1|0;h=j>>>12&16;s=j>>>h;j=s>>>5&8;n=s>>>j;s=n>>>2&4;m=n>>>s;n=m>>>1&2;f=m>>>n;m=f>>>1&1;i=c[34952+((j|h|s|n|m)+(f>>>m)<<2)>>2]|0;m=(c[i+4>>2]&-8)-e|0;f=c[i+16+(((c[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){y=m;z=i}else{n=f;f=m;m=i;while(1){i=(c[n+4>>2]&-8)-e|0;s=i>>>0<f>>>0;h=s?i:f;i=s?n:m;n=c[n+16+(((c[n+16>>2]|0)==0&1)<<2)>>2]|0;if(!n){y=h;z=i;break}else{f=h;m=i}}}m=c[8666]|0;if(z>>>0<m>>>0)pa();f=z+e|0;if(z>>>0>=f>>>0)pa();n=c[z+24>>2]|0;p=c[z+12>>2]|0;do if((p|0)==(z|0)){r=z+20|0;u=c[r>>2]|0;if(!u){i=z+16|0;h=c[i>>2]|0;if(!h){A=0;break}else{B=h;C=i}}else{B=u;C=r}while(1){r=B+20|0;u=c[r>>2]|0;if(u|0){B=u;C=r;continue}r=B+16|0;u=c[r>>2]|0;if(!u)break;else{B=u;C=r}}if(C>>>0<m>>>0)pa();else{c[C>>2]=0;A=B;break}}else{r=c[z+8>>2]|0;if(r>>>0<m>>>0)pa();u=r+12|0;if((c[u>>2]|0)!=(z|0))pa();i=p+8|0;if((c[i>>2]|0)==(z|0)){c[u>>2]=p;c[i>>2]=r;A=p;break}else pa()}while(0);a:do if(n|0){p=c[z+28>>2]|0;m=34952+(p<<2)|0;do if((z|0)==(c[m>>2]|0)){c[m>>2]=A;if(!A){c[8663]=t&~(1<<p);break a}}else if(n>>>0>=(c[8666]|0)>>>0){c[n+16+(((c[n+16>>2]|0)!=(z|0)&1)<<2)>>2]=A;if(!A)break a;else break}else pa();while(0);p=c[8666]|0;if(A>>>0<p>>>0)pa();c[A+24>>2]=n;m=c[z+16>>2]|0;do if(m|0)if(m>>>0<p>>>0)pa();else{c[A+16>>2]=m;c[m+24>>2]=A;break}while(0);m=c[z+20>>2]|0;if(m|0)if(m>>>0<(c[8666]|0)>>>0)pa();else{c[A+20>>2]=m;c[m+24>>2]=A;break}}while(0);if(y>>>0<16){n=y+e|0;c[z+4>>2]=n|3;t=z+n+4|0;c[t>>2]=c[t>>2]|1}else{c[z+4>>2]=e|3;c[f+4>>2]=y|1;c[f+y>>2]=y;if(k|0){t=c[8667]|0;n=k>>>3;m=34688+(n<<1<<2)|0;p=1<<n;if(g&p){n=m+8|0;r=c[n>>2]|0;if(r>>>0<(c[8666]|0)>>>0)pa();else{D=n;E=r}}else{c[8662]=g|p;D=m+8|0;E=m}c[D>>2]=t;c[E+12>>2]=t;c[t+8>>2]=E;c[t+12>>2]=m}c[8664]=y;c[8667]=f}q=z+8|0;l=b;return q|0}else F=e}else F=e}else if(a>>>0<=4294967231){m=a+11|0;t=m&-8;p=c[8663]|0;if(p){r=0-t|0;n=m>>>8;if(n)if(t>>>0>16777215)G=31;else{m=(n+1048320|0)>>>16&8;i=n<<m;n=(i+520192|0)>>>16&4;u=i<<n;i=(u+245760|0)>>>16&2;h=14-(n|m|i)+(u<<i>>>15)|0;G=t>>>(h+7|0)&1|h<<1}else G=0;h=c[34952+(G<<2)>>2]|0;b:do if(!h){H=r;I=0;J=0;K=81}else{i=r;u=0;m=t<<((G|0)==31?0:25-(G>>>1)|0);n=h;s=0;while(1){j=(c[n+4>>2]&-8)-t|0;if(j>>>0<i>>>0)if(!j){L=0;M=n;N=n;K=85;break b}else{O=j;P=n}else{O=i;P=s}j=c[n+20>>2]|0;n=c[n+16+(m>>>31<<2)>>2]|0;o=(j|0)==0|(j|0)==(n|0)?u:j;j=(n|0)==0;if(j){H=O;I=o;J=P;K=81;break}else{i=O;u=o;m=m<<((j^1)&1);s=P}}}while(0);if((K|0)==81){if((I|0)==0&(J|0)==0){h=2<<G;r=p&(h|0-h);if(!r){F=t;break}h=(r&0-r)+-1|0;r=h>>>12&16;e=h>>>r;h=e>>>5&8;f=e>>>h;e=f>>>2&4;g=f>>>e;f=g>>>1&2;k=g>>>f;g=k>>>1&1;Q=c[34952+((h|r|e|f|g)+(k>>>g)<<2)>>2]|0;R=0}else{Q=I;R=J}if(!Q){S=H;T=R}else{L=H;M=Q;N=R;K=85}}if((K|0)==85)while(1){K=0;g=(c[M+4>>2]&-8)-t|0;k=g>>>0<L>>>0;f=k?g:L;g=k?M:N;M=c[M+16+(((c[M+16>>2]|0)==0&1)<<2)>>2]|0;if(!M){S=f;T=g;break}else{L=f;N=g;K=85}}if((T|0)!=0?S>>>0<((c[8664]|0)-t|0)>>>0:0){g=c[8666]|0;if(T>>>0<g>>>0)pa();f=T+t|0;if(T>>>0>=f>>>0)pa();k=c[T+24>>2]|0;e=c[T+12>>2]|0;do if((e|0)==(T|0)){r=T+20|0;h=c[r>>2]|0;if(!h){s=T+16|0;m=c[s>>2]|0;if(!m){U=0;break}else{V=m;W=s}}else{V=h;W=r}while(1){r=V+20|0;h=c[r>>2]|0;if(h|0){V=h;W=r;continue}r=V+16|0;h=c[r>>2]|0;if(!h)break;else{V=h;W=r}}if(W>>>0<g>>>0)pa();else{c[W>>2]=0;U=V;break}}else{r=c[T+8>>2]|0;if(r>>>0<g>>>0)pa();h=r+12|0;if((c[h>>2]|0)!=(T|0))pa();s=e+8|0;if((c[s>>2]|0)==(T|0)){c[h>>2]=e;c[s>>2]=r;U=e;break}else pa()}while(0);c:do if(k){e=c[T+28>>2]|0;g=34952+(e<<2)|0;do if((T|0)==(c[g>>2]|0)){c[g>>2]=U;if(!U){r=p&~(1<<e);c[8663]=r;X=r;break c}}else if(k>>>0>=(c[8666]|0)>>>0){c[k+16+(((c[k+16>>2]|0)!=(T|0)&1)<<2)>>2]=U;if(!U){X=p;break c}else break}else pa();while(0);e=c[8666]|0;if(U>>>0<e>>>0)pa();c[U+24>>2]=k;g=c[T+16>>2]|0;do if(g|0)if(g>>>0<e>>>0)pa();else{c[U+16>>2]=g;c[g+24>>2]=U;break}while(0);g=c[T+20>>2]|0;if(g)if(g>>>0<(c[8666]|0)>>>0)pa();else{c[U+20>>2]=g;c[g+24>>2]=U;X=p;break}else X=p}else X=p;while(0);do if(S>>>0>=16){c[T+4>>2]=t|3;c[f+4>>2]=S|1;c[f+S>>2]=S;p=S>>>3;if(S>>>0<256){k=34688+(p<<1<<2)|0;g=c[8662]|0;e=1<<p;if(g&e){p=k+8|0;r=c[p>>2]|0;if(r>>>0<(c[8666]|0)>>>0)pa();else{Y=p;Z=r}}else{c[8662]=g|e;Y=k+8|0;Z=k}c[Y>>2]=f;c[Z+12>>2]=f;c[f+8>>2]=Z;c[f+12>>2]=k;break}k=S>>>8;if(k)if(S>>>0>16777215)_=31;else{e=(k+1048320|0)>>>16&8;g=k<<e;k=(g+520192|0)>>>16&4;r=g<<k;g=(r+245760|0)>>>16&2;p=14-(k|e|g)+(r<<g>>>15)|0;_=S>>>(p+7|0)&1|p<<1}else _=0;p=34952+(_<<2)|0;c[f+28>>2]=_;g=f+16|0;c[g+4>>2]=0;c[g>>2]=0;g=1<<_;if(!(X&g)){c[8663]=X|g;c[p>>2]=f;c[f+24>>2]=p;c[f+12>>2]=f;c[f+8>>2]=f;break}g=S<<((_|0)==31?0:25-(_>>>1)|0);r=c[p>>2]|0;while(1){if((c[r+4>>2]&-8|0)==(S|0)){K=139;break}$=r+16+(g>>>31<<2)|0;p=c[$>>2]|0;if(!p){K=136;break}else{g=g<<1;r=p}}if((K|0)==136)if($>>>0<(c[8666]|0)>>>0)pa();else{c[$>>2]=f;c[f+24>>2]=r;c[f+12>>2]=f;c[f+8>>2]=f;break}else if((K|0)==139){g=r+8|0;p=c[g>>2]|0;e=c[8666]|0;if(p>>>0>=e>>>0&r>>>0>=e>>>0){c[p+12>>2]=f;c[g>>2]=f;c[f+8>>2]=p;c[f+12>>2]=r;c[f+24>>2]=0;break}else pa()}}else{p=S+t|0;c[T+4>>2]=p|3;g=T+p+4|0;c[g>>2]=c[g>>2]|1}while(0);q=T+8|0;l=b;return q|0}else F=t}else F=t}else F=-1;while(0);T=c[8664]|0;if(T>>>0>=F>>>0){S=T-F|0;$=c[8667]|0;if(S>>>0>15){_=$+F|0;c[8667]=_;c[8664]=S;c[_+4>>2]=S|1;c[_+S>>2]=S;c[$+4>>2]=F|3}else{c[8664]=0;c[8667]=0;c[$+4>>2]=T|3;S=$+T+4|0;c[S>>2]=c[S>>2]|1}q=$+8|0;l=b;return q|0}$=c[8665]|0;if($>>>0>F>>>0){S=$-F|0;c[8665]=S;T=c[8668]|0;_=T+F|0;c[8668]=_;c[_+4>>2]=S|1;c[T+4>>2]=F|3;q=T+8|0;l=b;return q|0}if(!(c[8780]|0)){c[8782]=4096;c[8781]=4096;c[8783]=-1;c[8784]=-1;c[8785]=0;c[8773]=0;T=d&-16^1431655768;c[d>>2]=T;c[8780]=T;aa=4096}else aa=c[8782]|0;T=F+48|0;d=F+47|0;S=aa+d|0;_=0-aa|0;aa=S&_;if(aa>>>0<=F>>>0){q=0;l=b;return q|0}X=c[8772]|0;if(X|0?(Z=c[8770]|0,Y=Z+aa|0,Y>>>0<=Z>>>0|Y>>>0>X>>>0):0){q=0;l=b;return q|0}d:do if(!(c[8773]&4)){X=c[8668]|0;e:do if(X){Y=35096;while(1){Z=c[Y>>2]|0;if(Z>>>0<=X>>>0?(ba=Y+4|0,(Z+(c[ba>>2]|0)|0)>>>0>X>>>0):0)break;Z=c[Y+8>>2]|0;if(!Z){K=163;break e}else Y=Z}r=S-$&_;if(r>>>0<2147483647){Z=Bh(r|0)|0;if((Z|0)==((c[Y>>2]|0)+(c[ba>>2]|0)|0))if((Z|0)==(-1|0))ca=r;else{da=Z;ea=r;K=180;break d}else{fa=Z;ga=r;K=171}}else ca=0}else K=163;while(0);do if((K|0)==163){X=Bh(0)|0;if((X|0)!=(-1|0)?(t=X,r=c[8781]|0,Z=r+-1|0,U=((Z&t|0)==0?0:(Z+t&0-r)-t|0)+aa|0,t=c[8770]|0,r=U+t|0,U>>>0>F>>>0&U>>>0<2147483647):0){Z=c[8772]|0;if(Z|0?r>>>0<=t>>>0|r>>>0>Z>>>0:0){ca=0;break}Z=Bh(U|0)|0;if((Z|0)==(X|0)){da=X;ea=U;K=180;break d}else{fa=Z;ga=U;K=171}}else ca=0}while(0);do if((K|0)==171){U=0-ga|0;if(!(T>>>0>ga>>>0&(ga>>>0<2147483647&(fa|0)!=(-1|0))))if((fa|0)==(-1|0)){ca=0;break}else{da=fa;ea=ga;K=180;break d}Z=c[8782]|0;X=d-ga+Z&0-Z;if(X>>>0>=2147483647){da=fa;ea=ga;K=180;break d}if((Bh(X|0)|0)==(-1|0)){Bh(U|0)|0;ca=0;break}else{da=fa;ea=X+ga|0;K=180;break d}}while(0);c[8773]=c[8773]|4;ha=ca;K=178}else{ha=0;K=178}while(0);if(((K|0)==178?aa>>>0<2147483647:0)?(ca=Bh(aa|0)|0,aa=Bh(0)|0,ga=aa-ca|0,fa=ga>>>0>(F+40|0)>>>0,!((ca|0)==(-1|0)|fa^1|ca>>>0<aa>>>0&((ca|0)!=(-1|0)&(aa|0)!=(-1|0))^1)):0){da=ca;ea=fa?ga:ha;K=180}if((K|0)==180){ha=(c[8770]|0)+ea|0;c[8770]=ha;if(ha>>>0>(c[8771]|0)>>>0)c[8771]=ha;ha=c[8668]|0;do if(ha){ga=35096;while(1){ia=c[ga>>2]|0;ja=ga+4|0;ka=c[ja>>2]|0;if((da|0)==(ia+ka|0)){K=190;break}fa=c[ga+8>>2]|0;if(!fa)break;else ga=fa}if(((K|0)==190?(c[ga+12>>2]&8|0)==0:0)?ha>>>0<da>>>0&ha>>>0>=ia>>>0:0){c[ja>>2]=ka+ea;fa=ha+8|0;ca=(fa&7|0)==0?0:0-fa&7;fa=ha+ca|0;aa=(c[8665]|0)+(ea-ca)|0;c[8668]=fa;c[8665]=aa;c[fa+4>>2]=aa|1;c[fa+aa+4>>2]=40;c[8669]=c[8784];break}aa=c[8666]|0;if(da>>>0<aa>>>0){c[8666]=da;la=da}else la=aa;aa=da+ea|0;fa=35096;while(1){if((c[fa>>2]|0)==(aa|0)){K=198;break}ca=c[fa+8>>2]|0;if(!ca)break;else fa=ca}if((K|0)==198?(c[fa+12>>2]&8|0)==0:0){c[fa>>2]=da;ga=fa+4|0;c[ga>>2]=(c[ga>>2]|0)+ea;ga=da+8|0;ca=da+((ga&7|0)==0?0:0-ga&7)|0;ga=aa+8|0;d=aa+((ga&7|0)==0?0:0-ga&7)|0;ga=ca+F|0;T=d-ca-F|0;c[ca+4>>2]=F|3;do if((d|0)!=(ha|0)){if((d|0)==(c[8667]|0)){ba=(c[8664]|0)+T|0;c[8664]=ba;c[8667]=ga;c[ga+4>>2]=ba|1;c[ga+ba>>2]=ba;break}ba=c[d+4>>2]|0;if((ba&3|0)==1){_=ba&-8;$=ba>>>3;f:do if(ba>>>0>=256){S=c[d+24>>2]|0;X=c[d+12>>2]|0;do if((X|0)==(d|0)){U=d+16|0;Z=U+4|0;r=c[Z>>2]|0;if(!r){t=c[U>>2]|0;if(!t){ma=0;break}else{na=t;oa=U}}else{na=r;oa=Z}while(1){Z=na+20|0;r=c[Z>>2]|0;if(r|0){na=r;oa=Z;continue}Z=na+16|0;r=c[Z>>2]|0;if(!r)break;else{na=r;oa=Z}}if(oa>>>0<la>>>0)pa();else{c[oa>>2]=0;ma=na;break}}else{Z=c[d+8>>2]|0;if(Z>>>0<la>>>0)pa();r=Z+12|0;if((c[r>>2]|0)!=(d|0))pa();U=X+8|0;if((c[U>>2]|0)==(d|0)){c[r>>2]=X;c[U>>2]=Z;ma=X;break}else pa()}while(0);if(!S)break;X=c[d+28>>2]|0;Z=34952+(X<<2)|0;do if((d|0)!=(c[Z>>2]|0))if(S>>>0>=(c[8666]|0)>>>0){c[S+16+(((c[S+16>>2]|0)!=(d|0)&1)<<2)>>2]=ma;if(!ma)break f;else break}else pa();else{c[Z>>2]=ma;if(ma|0)break;c[8663]=c[8663]&~(1<<X);break f}while(0);X=c[8666]|0;if(ma>>>0<X>>>0)pa();c[ma+24>>2]=S;Z=d+16|0;U=c[Z>>2]|0;do if(U|0)if(U>>>0<X>>>0)pa();else{c[ma+16>>2]=U;c[U+24>>2]=ma;break}while(0);U=c[Z+4>>2]|0;if(!U)break;if(U>>>0<(c[8666]|0)>>>0)pa();else{c[ma+20>>2]=U;c[U+24>>2]=ma;break}}else{U=c[d+8>>2]|0;X=c[d+12>>2]|0;S=34688+($<<1<<2)|0;do if((U|0)!=(S|0)){if(U>>>0<la>>>0)pa();if((c[U+12>>2]|0)==(d|0))break;pa()}while(0);if((X|0)==(U|0)){c[8662]=c[8662]&~(1<<$);break}do if((X|0)==(S|0))qa=X+8|0;else{if(X>>>0<la>>>0)pa();Z=X+8|0;if((c[Z>>2]|0)==(d|0)){qa=Z;break}pa()}while(0);c[U+12>>2]=X;c[qa>>2]=U}while(0);ra=d+_|0;sa=_+T|0}else{ra=d;sa=T}$=ra+4|0;c[$>>2]=c[$>>2]&-2;c[ga+4>>2]=sa|1;c[ga+sa>>2]=sa;$=sa>>>3;if(sa>>>0<256){ba=34688+($<<1<<2)|0;Y=c[8662]|0;S=1<<$;do if(!(Y&S)){c[8662]=Y|S;ta=ba+8|0;ua=ba}else{$=ba+8|0;Z=c[$>>2]|0;if(Z>>>0>=(c[8666]|0)>>>0){ta=$;ua=Z;break}pa()}while(0);c[ta>>2]=ga;c[ua+12>>2]=ga;c[ga+8>>2]=ua;c[ga+12>>2]=ba;break}S=sa>>>8;do if(!S)va=0;else{if(sa>>>0>16777215){va=31;break}Y=(S+1048320|0)>>>16&8;_=S<<Y;Z=(_+520192|0)>>>16&4;$=_<<Z;_=($+245760|0)>>>16&2;r=14-(Z|Y|_)+($<<_>>>15)|0;va=sa>>>(r+7|0)&1|r<<1}while(0);S=34952+(va<<2)|0;c[ga+28>>2]=va;ba=ga+16|0;c[ba+4>>2]=0;c[ba>>2]=0;ba=c[8663]|0;r=1<<va;if(!(ba&r)){c[8663]=ba|r;c[S>>2]=ga;c[ga+24>>2]=S;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}r=sa<<((va|0)==31?0:25-(va>>>1)|0);ba=c[S>>2]|0;while(1){if((c[ba+4>>2]&-8|0)==(sa|0)){K=265;break}wa=ba+16+(r>>>31<<2)|0;S=c[wa>>2]|0;if(!S){K=262;break}else{r=r<<1;ba=S}}if((K|0)==262)if(wa>>>0<(c[8666]|0)>>>0)pa();else{c[wa>>2]=ga;c[ga+24>>2]=ba;c[ga+12>>2]=ga;c[ga+8>>2]=ga;break}else if((K|0)==265){r=ba+8|0;S=c[r>>2]|0;_=c[8666]|0;if(S>>>0>=_>>>0&ba>>>0>=_>>>0){c[S+12>>2]=ga;c[r>>2]=ga;c[ga+8>>2]=S;c[ga+12>>2]=ba;c[ga+24>>2]=0;break}else pa()}}else{S=(c[8665]|0)+T|0;c[8665]=S;c[8668]=ga;c[ga+4>>2]=S|1}while(0);q=ca+8|0;l=b;return q|0}ga=35096;while(1){T=c[ga>>2]|0;if(T>>>0<=ha>>>0?(xa=T+(c[ga+4>>2]|0)|0,xa>>>0>ha>>>0):0)break;ga=c[ga+8>>2]|0}ga=xa+-47|0;ca=ga+8|0;T=ga+((ca&7|0)==0?0:0-ca&7)|0;ca=ha+16|0;ga=T>>>0<ca>>>0?ha:T;T=ga+8|0;d=da+8|0;aa=(d&7|0)==0?0:0-d&7;d=da+aa|0;fa=ea+-40-aa|0;c[8668]=d;c[8665]=fa;c[d+4>>2]=fa|1;c[d+fa+4>>2]=40;c[8669]=c[8784];fa=ga+4|0;c[fa>>2]=27;c[T>>2]=c[8774];c[T+4>>2]=c[8775];c[T+8>>2]=c[8776];c[T+12>>2]=c[8777];c[8774]=da;c[8775]=ea;c[8777]=0;c[8776]=T;T=ga+24|0;do{d=T;T=T+4|0;c[T>>2]=7}while((d+8|0)>>>0<xa>>>0);if((ga|0)!=(ha|0)){T=ga-ha|0;c[fa>>2]=c[fa>>2]&-2;c[ha+4>>2]=T|1;c[ga>>2]=T;d=T>>>3;if(T>>>0<256){aa=34688+(d<<1<<2)|0;S=c[8662]|0;r=1<<d;if(S&r){d=aa+8|0;_=c[d>>2]|0;if(_>>>0<(c[8666]|0)>>>0)pa();else{ya=d;za=_}}else{c[8662]=S|r;ya=aa+8|0;za=aa}c[ya>>2]=ha;c[za+12>>2]=ha;c[ha+8>>2]=za;c[ha+12>>2]=aa;break}aa=T>>>8;if(aa)if(T>>>0>16777215)Aa=31;else{r=(aa+1048320|0)>>>16&8;S=aa<<r;aa=(S+520192|0)>>>16&4;_=S<<aa;S=(_+245760|0)>>>16&2;d=14-(aa|r|S)+(_<<S>>>15)|0;Aa=T>>>(d+7|0)&1|d<<1}else Aa=0;d=34952+(Aa<<2)|0;c[ha+28>>2]=Aa;c[ha+20>>2]=0;c[ca>>2]=0;S=c[8663]|0;_=1<<Aa;if(!(S&_)){c[8663]=S|_;c[d>>2]=ha;c[ha+24>>2]=d;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}_=T<<((Aa|0)==31?0:25-(Aa>>>1)|0);S=c[d>>2]|0;while(1){if((c[S+4>>2]&-8|0)==(T|0)){K=292;break}Ba=S+16+(_>>>31<<2)|0;d=c[Ba>>2]|0;if(!d){K=289;break}else{_=_<<1;S=d}}if((K|0)==289)if(Ba>>>0<(c[8666]|0)>>>0)pa();else{c[Ba>>2]=ha;c[ha+24>>2]=S;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}else if((K|0)==292){_=S+8|0;T=c[_>>2]|0;ca=c[8666]|0;if(T>>>0>=ca>>>0&S>>>0>=ca>>>0){c[T+12>>2]=ha;c[_>>2]=ha;c[ha+8>>2]=T;c[ha+12>>2]=S;c[ha+24>>2]=0;break}else pa()}}}else{T=c[8666]|0;if((T|0)==0|da>>>0<T>>>0)c[8666]=da;c[8774]=da;c[8775]=ea;c[8777]=0;c[8671]=c[8780];c[8670]=-1;T=0;do{_=34688+(T<<1<<2)|0;c[_+12>>2]=_;c[_+8>>2]=_;T=T+1|0}while((T|0)!=32);T=da+8|0;S=(T&7|0)==0?0:0-T&7;T=da+S|0;_=ea+-40-S|0;c[8668]=T;c[8665]=_;c[T+4>>2]=_|1;c[T+_+4>>2]=40;c[8669]=c[8784]}while(0);ea=c[8665]|0;if(ea>>>0>F>>>0){da=ea-F|0;c[8665]=da;ea=c[8668]|0;ha=ea+F|0;c[8668]=ha;c[ha+4>>2]=da|1;c[ea+4>>2]=F|3;q=ea+8|0;l=b;return q|0}}c[(mg()|0)>>2]=12;q=0;l=b;return q|0}function jh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;if(!a)return;b=a+-8|0;d=c[8666]|0;if(b>>>0<d>>>0)pa();e=c[a+-4>>2]|0;a=e&3;if((a|0)==1)pa();f=e&-8;g=b+f|0;a:do if(!(e&1)){h=c[b>>2]|0;if(!a)return;i=b+(0-h)|0;j=h+f|0;if(i>>>0<d>>>0)pa();if((i|0)==(c[8667]|0)){k=g+4|0;l=c[k>>2]|0;if((l&3|0)!=3){m=i;n=i;o=j;break}c[8664]=j;c[k>>2]=l&-2;c[i+4>>2]=j|1;c[i+j>>2]=j;return}l=h>>>3;if(h>>>0<256){h=c[i+8>>2]|0;k=c[i+12>>2]|0;p=34688+(l<<1<<2)|0;if((h|0)!=(p|0)){if(h>>>0<d>>>0)pa();if((c[h+12>>2]|0)!=(i|0))pa()}if((k|0)==(h|0)){c[8662]=c[8662]&~(1<<l);m=i;n=i;o=j;break}if((k|0)!=(p|0)){if(k>>>0<d>>>0)pa();p=k+8|0;if((c[p>>2]|0)==(i|0))q=p;else pa()}else q=k+8|0;c[h+12>>2]=k;c[q>>2]=h;m=i;n=i;o=j;break}h=c[i+24>>2]|0;k=c[i+12>>2]|0;do if((k|0)==(i|0)){p=i+16|0;l=p+4|0;r=c[l>>2]|0;if(!r){s=c[p>>2]|0;if(!s){t=0;break}else{u=s;v=p}}else{u=r;v=l}while(1){l=u+20|0;r=c[l>>2]|0;if(r|0){u=r;v=l;continue}l=u+16|0;r=c[l>>2]|0;if(!r)break;else{u=r;v=l}}if(v>>>0<d>>>0)pa();else{c[v>>2]=0;t=u;break}}else{l=c[i+8>>2]|0;if(l>>>0<d>>>0)pa();r=l+12|0;if((c[r>>2]|0)!=(i|0))pa();p=k+8|0;if((c[p>>2]|0)==(i|0)){c[r>>2]=k;c[p>>2]=l;t=k;break}else pa()}while(0);if(h){k=c[i+28>>2]|0;l=34952+(k<<2)|0;do if((i|0)==(c[l>>2]|0)){c[l>>2]=t;if(!t){c[8663]=c[8663]&~(1<<k);m=i;n=i;o=j;break a}}else if(h>>>0>=(c[8666]|0)>>>0){c[h+16+(((c[h+16>>2]|0)!=(i|0)&1)<<2)>>2]=t;if(!t){m=i;n=i;o=j;break a}else break}else pa();while(0);k=c[8666]|0;if(t>>>0<k>>>0)pa();c[t+24>>2]=h;l=i+16|0;p=c[l>>2]|0;do if(p|0)if(p>>>0<k>>>0)pa();else{c[t+16>>2]=p;c[p+24>>2]=t;break}while(0);p=c[l+4>>2]|0;if(p)if(p>>>0<(c[8666]|0)>>>0)pa();else{c[t+20>>2]=p;c[p+24>>2]=t;m=i;n=i;o=j;break}else{m=i;n=i;o=j}}else{m=i;n=i;o=j}}else{m=b;n=b;o=f}while(0);if(m>>>0>=g>>>0)pa();f=g+4|0;b=c[f>>2]|0;if(!(b&1))pa();if(!(b&2)){t=c[8667]|0;if((g|0)==(c[8668]|0)){d=(c[8665]|0)+o|0;c[8665]=d;c[8668]=n;c[n+4>>2]=d|1;if((n|0)!=(t|0))return;c[8667]=0;c[8664]=0;return}if((g|0)==(t|0)){t=(c[8664]|0)+o|0;c[8664]=t;c[8667]=m;c[n+4>>2]=t|1;c[m+t>>2]=t;return}t=(b&-8)+o|0;d=b>>>3;b:do if(b>>>0>=256){u=c[g+24>>2]|0;v=c[g+12>>2]|0;do if((v|0)==(g|0)){q=g+16|0;a=q+4|0;e=c[a>>2]|0;if(!e){p=c[q>>2]|0;if(!p){w=0;break}else{x=p;y=q}}else{x=e;y=a}while(1){a=x+20|0;e=c[a>>2]|0;if(e|0){x=e;y=a;continue}a=x+16|0;e=c[a>>2]|0;if(!e)break;else{x=e;y=a}}if(y>>>0<(c[8666]|0)>>>0)pa();else{c[y>>2]=0;w=x;break}}else{a=c[g+8>>2]|0;if(a>>>0<(c[8666]|0)>>>0)pa();e=a+12|0;if((c[e>>2]|0)!=(g|0))pa();q=v+8|0;if((c[q>>2]|0)==(g|0)){c[e>>2]=v;c[q>>2]=a;w=v;break}else pa()}while(0);if(u|0){v=c[g+28>>2]|0;j=34952+(v<<2)|0;do if((g|0)==(c[j>>2]|0)){c[j>>2]=w;if(!w){c[8663]=c[8663]&~(1<<v);break b}}else if(u>>>0>=(c[8666]|0)>>>0){c[u+16+(((c[u+16>>2]|0)!=(g|0)&1)<<2)>>2]=w;if(!w)break b;else break}else pa();while(0);v=c[8666]|0;if(w>>>0<v>>>0)pa();c[w+24>>2]=u;j=g+16|0;i=c[j>>2]|0;do if(i|0)if(i>>>0<v>>>0)pa();else{c[w+16>>2]=i;c[i+24>>2]=w;break}while(0);i=c[j+4>>2]|0;if(i|0)if(i>>>0<(c[8666]|0)>>>0)pa();else{c[w+20>>2]=i;c[i+24>>2]=w;break}}}else{i=c[g+8>>2]|0;v=c[g+12>>2]|0;u=34688+(d<<1<<2)|0;if((i|0)!=(u|0)){if(i>>>0<(c[8666]|0)>>>0)pa();if((c[i+12>>2]|0)!=(g|0))pa()}if((v|0)==(i|0)){c[8662]=c[8662]&~(1<<d);break}if((v|0)!=(u|0)){if(v>>>0<(c[8666]|0)>>>0)pa();u=v+8|0;if((c[u>>2]|0)==(g|0))z=u;else pa()}else z=v+8|0;c[i+12>>2]=v;c[z>>2]=i}while(0);c[n+4>>2]=t|1;c[m+t>>2]=t;if((n|0)==(c[8667]|0)){c[8664]=t;return}else A=t}else{c[f>>2]=b&-2;c[n+4>>2]=o|1;c[m+o>>2]=o;A=o}o=A>>>3;if(A>>>0<256){m=34688+(o<<1<<2)|0;b=c[8662]|0;f=1<<o;if(b&f){o=m+8|0;t=c[o>>2]|0;if(t>>>0<(c[8666]|0)>>>0)pa();else{B=o;C=t}}else{c[8662]=b|f;B=m+8|0;C=m}c[B>>2]=n;c[C+12>>2]=n;c[n+8>>2]=C;c[n+12>>2]=m;return}m=A>>>8;if(m)if(A>>>0>16777215)D=31;else{C=(m+1048320|0)>>>16&8;B=m<<C;m=(B+520192|0)>>>16&4;f=B<<m;B=(f+245760|0)>>>16&2;b=14-(m|C|B)+(f<<B>>>15)|0;D=A>>>(b+7|0)&1|b<<1}else D=0;b=34952+(D<<2)|0;c[n+28>>2]=D;c[n+20>>2]=0;c[n+16>>2]=0;B=c[8663]|0;f=1<<D;do if(B&f){C=A<<((D|0)==31?0:25-(D>>>1)|0);m=c[b>>2]|0;while(1){if((c[m+4>>2]&-8|0)==(A|0)){E=124;break}F=m+16+(C>>>31<<2)|0;t=c[F>>2]|0;if(!t){E=121;break}else{C=C<<1;m=t}}if((E|0)==121)if(F>>>0<(c[8666]|0)>>>0)pa();else{c[F>>2]=n;c[n+24>>2]=m;c[n+12>>2]=n;c[n+8>>2]=n;break}else if((E|0)==124){C=m+8|0;j=c[C>>2]|0;t=c[8666]|0;if(j>>>0>=t>>>0&m>>>0>=t>>>0){c[j+12>>2]=n;c[C>>2]=n;c[n+8>>2]=j;c[n+12>>2]=m;c[n+24>>2]=0;break}else pa()}}else{c[8663]=B|f;c[b>>2]=n;c[n+24>>2]=b;c[n+12>>2]=n;c[n+8>>2]=n}while(0);n=(c[8670]|0)+-1|0;c[8670]=n;if(!n)G=35104;else return;while(1){n=c[G>>2]|0;if(!n)break;else G=n+8|0}c[8670]=-1;return}function kh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){d=ih(b)|0;return d|0}if(b>>>0>4294967231){c[(mg()|0)>>2]=12;d=0;return d|0}e=lh(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(e|0){d=e+8|0;return d|0}e=ih(b)|0;if(!e){d=0;return d|0}f=c[a+-4>>2]|0;g=(f&-8)-((f&3|0)==0?8:4)|0;vh(e|0,a|0,(g>>>0<b>>>0?g:b)|0)|0;jh(a);d=e;return d|0}function lh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a+f|0;h=c[8666]|0;i=e&3;if(!((i|0)!=1&a>>>0>=h>>>0&a>>>0<g>>>0))pa();j=c[g+4>>2]|0;if(!(j&1))pa();if(!i){if(b>>>0<256){k=0;return k|0}if(f>>>0>=(b+4|0)>>>0?(f-b|0)>>>0<=c[8782]<<1>>>0:0){k=a;return k|0}k=0;return k|0}if(f>>>0>=b>>>0){i=f-b|0;if(i>>>0<=15){k=a;return k|0}l=a+b|0;c[d>>2]=e&1|b|2;c[l+4>>2]=i|3;m=l+i+4|0;c[m>>2]=c[m>>2]|1;mh(l,i);k=a;return k|0}if((g|0)==(c[8668]|0)){i=(c[8665]|0)+f|0;l=i-b|0;m=a+b|0;if(i>>>0<=b>>>0){k=0;return k|0}c[d>>2]=e&1|b|2;c[m+4>>2]=l|1;c[8668]=m;c[8665]=l;k=a;return k|0}if((g|0)==(c[8667]|0)){l=(c[8664]|0)+f|0;if(l>>>0<b>>>0){k=0;return k|0}m=l-b|0;i=e&1;if(m>>>0>15){n=a+b|0;o=n+m|0;c[d>>2]=i|b|2;c[n+4>>2]=m|1;c[o>>2]=m;p=o+4|0;c[p>>2]=c[p>>2]&-2;q=n;r=m}else{c[d>>2]=i|l|2;i=a+l+4|0;c[i>>2]=c[i>>2]|1;q=0;r=0}c[8664]=r;c[8667]=q;k=a;return k|0}if(j&2|0){k=0;return k|0}q=(j&-8)+f|0;if(q>>>0<b>>>0){k=0;return k|0}f=q-b|0;r=j>>>3;a:do if(j>>>0>=256){i=c[g+24>>2]|0;l=c[g+12>>2]|0;do if((l|0)==(g|0)){m=g+16|0;n=m+4|0;p=c[n>>2]|0;if(!p){o=c[m>>2]|0;if(!o){s=0;break}else{t=o;u=m}}else{t=p;u=n}while(1){n=t+20|0;p=c[n>>2]|0;if(p|0){t=p;u=n;continue}n=t+16|0;p=c[n>>2]|0;if(!p)break;else{t=p;u=n}}if(u>>>0<h>>>0)pa();else{c[u>>2]=0;s=t;break}}else{n=c[g+8>>2]|0;if(n>>>0<h>>>0)pa();p=n+12|0;if((c[p>>2]|0)!=(g|0))pa();m=l+8|0;if((c[m>>2]|0)==(g|0)){c[p>>2]=l;c[m>>2]=n;s=l;break}else pa()}while(0);if(i|0){l=c[g+28>>2]|0;n=34952+(l<<2)|0;do if((g|0)==(c[n>>2]|0)){c[n>>2]=s;if(!s){c[8663]=c[8663]&~(1<<l);break a}}else if(i>>>0>=(c[8666]|0)>>>0){c[i+16+(((c[i+16>>2]|0)!=(g|0)&1)<<2)>>2]=s;if(!s)break a;else break}else pa();while(0);l=c[8666]|0;if(s>>>0<l>>>0)pa();c[s+24>>2]=i;n=g+16|0;m=c[n>>2]|0;do if(m|0)if(m>>>0<l>>>0)pa();else{c[s+16>>2]=m;c[m+24>>2]=s;break}while(0);m=c[n+4>>2]|0;if(m|0)if(m>>>0<(c[8666]|0)>>>0)pa();else{c[s+20>>2]=m;c[m+24>>2]=s;break}}}else{m=c[g+8>>2]|0;l=c[g+12>>2]|0;i=34688+(r<<1<<2)|0;if((m|0)!=(i|0)){if(m>>>0<h>>>0)pa();if((c[m+12>>2]|0)!=(g|0))pa()}if((l|0)==(m|0)){c[8662]=c[8662]&~(1<<r);break}if((l|0)!=(i|0)){if(l>>>0<h>>>0)pa();i=l+8|0;if((c[i>>2]|0)==(g|0))v=i;else pa()}else v=l+8|0;c[m+12>>2]=l;c[v>>2]=m}while(0);v=e&1;if(f>>>0<16){c[d>>2]=q|v|2;e=a+q+4|0;c[e>>2]=c[e>>2]|1;k=a;return k|0}else{e=a+b|0;c[d>>2]=v|b|2;c[e+4>>2]=f|3;b=e+f+4|0;c[b>>2]=c[b>>2]|1;mh(e,f);k=a;return k|0}return 0}function mh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;d=a+b|0;e=c[a+4>>2]|0;a:do if(!(e&1)){f=c[a>>2]|0;if(!(e&3))return;g=a+(0-f)|0;h=f+b|0;i=c[8666]|0;if(g>>>0<i>>>0)pa();if((g|0)==(c[8667]|0)){j=d+4|0;k=c[j>>2]|0;if((k&3|0)!=3){l=g;m=h;break}c[8664]=h;c[j>>2]=k&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}k=f>>>3;if(f>>>0<256){f=c[g+8>>2]|0;j=c[g+12>>2]|0;n=34688+(k<<1<<2)|0;if((f|0)!=(n|0)){if(f>>>0<i>>>0)pa();if((c[f+12>>2]|0)!=(g|0))pa()}if((j|0)==(f|0)){c[8662]=c[8662]&~(1<<k);l=g;m=h;break}if((j|0)!=(n|0)){if(j>>>0<i>>>0)pa();n=j+8|0;if((c[n>>2]|0)==(g|0))o=n;else pa()}else o=j+8|0;c[f+12>>2]=j;c[o>>2]=f;l=g;m=h;break}f=c[g+24>>2]|0;j=c[g+12>>2]|0;do if((j|0)==(g|0)){n=g+16|0;k=n+4|0;p=c[k>>2]|0;if(!p){q=c[n>>2]|0;if(!q){r=0;break}else{s=q;t=n}}else{s=p;t=k}while(1){k=s+20|0;p=c[k>>2]|0;if(p|0){s=p;t=k;continue}k=s+16|0;p=c[k>>2]|0;if(!p)break;else{s=p;t=k}}if(t>>>0<i>>>0)pa();else{c[t>>2]=0;r=s;break}}else{k=c[g+8>>2]|0;if(k>>>0<i>>>0)pa();p=k+12|0;if((c[p>>2]|0)!=(g|0))pa();n=j+8|0;if((c[n>>2]|0)==(g|0)){c[p>>2]=j;c[n>>2]=k;r=j;break}else pa()}while(0);if(f){j=c[g+28>>2]|0;i=34952+(j<<2)|0;do if((g|0)==(c[i>>2]|0)){c[i>>2]=r;if(!r){c[8663]=c[8663]&~(1<<j);l=g;m=h;break a}}else if(f>>>0>=(c[8666]|0)>>>0){c[f+16+(((c[f+16>>2]|0)!=(g|0)&1)<<2)>>2]=r;if(!r){l=g;m=h;break a}else break}else pa();while(0);j=c[8666]|0;if(r>>>0<j>>>0)pa();c[r+24>>2]=f;i=g+16|0;k=c[i>>2]|0;do if(k|0)if(k>>>0<j>>>0)pa();else{c[r+16>>2]=k;c[k+24>>2]=r;break}while(0);k=c[i+4>>2]|0;if(k)if(k>>>0<(c[8666]|0)>>>0)pa();else{c[r+20>>2]=k;c[k+24>>2]=r;l=g;m=h;break}else{l=g;m=h}}else{l=g;m=h}}else{l=a;m=b}while(0);b=c[8666]|0;if(d>>>0<b>>>0)pa();a=d+4|0;r=c[a>>2]|0;if(!(r&2)){s=c[8667]|0;if((d|0)==(c[8668]|0)){t=(c[8665]|0)+m|0;c[8665]=t;c[8668]=l;c[l+4>>2]=t|1;if((l|0)!=(s|0))return;c[8667]=0;c[8664]=0;return}if((d|0)==(s|0)){s=(c[8664]|0)+m|0;c[8664]=s;c[8667]=l;c[l+4>>2]=s|1;c[l+s>>2]=s;return}s=(r&-8)+m|0;t=r>>>3;b:do if(r>>>0>=256){o=c[d+24>>2]|0;e=c[d+12>>2]|0;do if((e|0)==(d|0)){k=d+16|0;j=k+4|0;f=c[j>>2]|0;if(!f){n=c[k>>2]|0;if(!n){u=0;break}else{v=n;w=k}}else{v=f;w=j}while(1){j=v+20|0;f=c[j>>2]|0;if(f|0){v=f;w=j;continue}j=v+16|0;f=c[j>>2]|0;if(!f)break;else{v=f;w=j}}if(w>>>0<b>>>0)pa();else{c[w>>2]=0;u=v;break}}else{j=c[d+8>>2]|0;if(j>>>0<b>>>0)pa();f=j+12|0;if((c[f>>2]|0)!=(d|0))pa();k=e+8|0;if((c[k>>2]|0)==(d|0)){c[f>>2]=e;c[k>>2]=j;u=e;break}else pa()}while(0);if(o|0){e=c[d+28>>2]|0;h=34952+(e<<2)|0;do if((d|0)==(c[h>>2]|0)){c[h>>2]=u;if(!u){c[8663]=c[8663]&~(1<<e);break b}}else if(o>>>0>=(c[8666]|0)>>>0){c[o+16+(((c[o+16>>2]|0)!=(d|0)&1)<<2)>>2]=u;if(!u)break b;else break}else pa();while(0);e=c[8666]|0;if(u>>>0<e>>>0)pa();c[u+24>>2]=o;h=d+16|0;g=c[h>>2]|0;do if(g|0)if(g>>>0<e>>>0)pa();else{c[u+16>>2]=g;c[g+24>>2]=u;break}while(0);g=c[h+4>>2]|0;if(g|0)if(g>>>0<(c[8666]|0)>>>0)pa();else{c[u+20>>2]=g;c[g+24>>2]=u;break}}}else{g=c[d+8>>2]|0;e=c[d+12>>2]|0;o=34688+(t<<1<<2)|0;if((g|0)!=(o|0)){if(g>>>0<b>>>0)pa();if((c[g+12>>2]|0)!=(d|0))pa()}if((e|0)==(g|0)){c[8662]=c[8662]&~(1<<t);break}if((e|0)!=(o|0)){if(e>>>0<b>>>0)pa();o=e+8|0;if((c[o>>2]|0)==(d|0))x=o;else pa()}else x=e+8|0;c[g+12>>2]=e;c[x>>2]=g}while(0);c[l+4>>2]=s|1;c[l+s>>2]=s;if((l|0)==(c[8667]|0)){c[8664]=s;return}else y=s}else{c[a>>2]=r&-2;c[l+4>>2]=m|1;c[l+m>>2]=m;y=m}m=y>>>3;if(y>>>0<256){r=34688+(m<<1<<2)|0;a=c[8662]|0;s=1<<m;if(a&s){m=r+8|0;x=c[m>>2]|0;if(x>>>0<(c[8666]|0)>>>0)pa();else{z=m;A=x}}else{c[8662]=a|s;z=r+8|0;A=r}c[z>>2]=l;c[A+12>>2]=l;c[l+8>>2]=A;c[l+12>>2]=r;return}r=y>>>8;if(r)if(y>>>0>16777215)B=31;else{A=(r+1048320|0)>>>16&8;z=r<<A;r=(z+520192|0)>>>16&4;s=z<<r;z=(s+245760|0)>>>16&2;a=14-(r|A|z)+(s<<z>>>15)|0;B=y>>>(a+7|0)&1|a<<1}else B=0;a=34952+(B<<2)|0;c[l+28>>2]=B;c[l+20>>2]=0;c[l+16>>2]=0;z=c[8663]|0;s=1<<B;if(!(z&s)){c[8663]=z|s;c[a>>2]=l;c[l+24>>2]=a;c[l+12>>2]=l;c[l+8>>2]=l;return}s=y<<((B|0)==31?0:25-(B>>>1)|0);B=c[a>>2]|0;while(1){if((c[B+4>>2]&-8|0)==(y|0)){C=121;break}D=B+16+(s>>>31<<2)|0;a=c[D>>2]|0;if(!a){C=118;break}else{s=s<<1;B=a}}if((C|0)==118){if(D>>>0<(c[8666]|0)>>>0)pa();c[D>>2]=l;c[l+24>>2]=B;c[l+12>>2]=l;c[l+8>>2]=l;return}else if((C|0)==121){C=B+8|0;D=c[C>>2]|0;s=c[8666]|0;if(!(D>>>0>=s>>>0&B>>>0>=s>>>0))pa();c[D+12>>2]=l;c[C>>2]=l;c[l+8>>2]=D;c[l+12>>2]=B;c[l+24>>2]=0;return}}function nh(){}function oh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=b-d>>>0;e=b-d-(c>>>0>a>>>0|0)>>>0;return (D=e,a-c>>>0|0)|0}function ph(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;return (D=b+d+(e>>>0<a>>>0|0)>>>0,e|0)|0}function qh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}g=f&-4|0;h=g-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(h|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return f-e|0}function rh(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b>>>c;return a>>>c|(b&(1<<c)-1)<<32-c}D=0;return b>>>c-32|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){D=b<<c|(a&(1<<c)-1<<32-c)>>>32-c;return a<<c}D=a<<c-32;return 0}function th(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;q=q+1|0;c[a>>2]=q;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=q;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;D=e;return d|0}f=f+1|0}e=e*2|0;d=kh(d|0,8*(e+1|0)|0)|0;d=th(a|0,b|0,d|0,e|0)|0;D=e;return d|0}function uh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((e|0)<(d|0)){f=c[b+(e<<3)>>2]|0;if(!f)break;if((f|0)==(a|0))return c[b+((e<<3)+4)>>2]|0;e=e+1|0}return 0}function vh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return qa(b|0,d|0,e|0)|0;f=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}h=g&-4|0;e=h-64|0;while((b|0)<=(e|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(h|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{h=g-4|0;while((b|0)<(h|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return f|0}function wh(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function xh(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,H=0;g=a;h=b;i=h;j=d;k=e;l=k;if(!i){m=(f|0)!=0;if(!l){if(m){c[f>>2]=(g>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(g>>>0)/(j>>>0)>>>0;return (D=n,o)|0}else{if(!m){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;o=0;return (D=n,o)|0}}m=(l|0)==0;do if(j){if(!m){p=(V(l|0)|0)-(V(i|0)|0)|0;if(p>>>0<=31){q=p+1|0;r=31-p|0;s=p-31>>31;t=q;u=g>>>(q>>>0)&s|i<<r;v=i>>>(q>>>0)&s;w=0;x=g<<r;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}r=j-1|0;if(r&j|0){s=(V(j|0)|0)+33-(V(i|0)|0)|0;q=64-s|0;p=32-s|0;y=p>>31;z=s-32|0;A=z>>31;t=s;u=p-1>>31&i>>>(z>>>0)|(i<<p|g>>>(s>>>0))&A;v=A&i>>>(s>>>0);w=g<<q&y;x=(i<<q|g>>>(z>>>0))&y|g<<p&s-33>>31;break}if(f|0){c[f>>2]=r&g;c[f+4>>2]=0}if((j|0)==1){n=h|b&0;o=a|0|0;return (D=n,o)|0}else{r=wh(j|0)|0;n=i>>>(r>>>0)|0;o=i<<32-r|g>>>(r>>>0)|0;return (D=n,o)|0}}else{if(m){if(f|0){c[f>>2]=(i>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(i>>>0)/(j>>>0)>>>0;return (D=n,o)|0}if(!g){if(f|0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}n=0;o=(i>>>0)/(l>>>0)>>>0;return (D=n,o)|0}r=l-1|0;if(!(r&l)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=r&i|b&0}n=0;o=i>>>((wh(l|0)|0)>>>0);return (D=n,o)|0}r=(V(l|0)|0)-(V(i|0)|0)|0;if(r>>>0<=30){s=r+1|0;p=31-r|0;t=s;u=i<<p|g>>>(s>>>0);v=i>>>(s>>>0);w=0;x=g<<p;break}if(!f){n=0;o=0;return (D=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (D=n,o)|0}while(0);if(!t){B=x;C=w;E=v;F=u;G=0;H=0}else{b=d|0|0;d=k|e&0;e=ph(b|0,d|0,-1,-1)|0;k=D;h=x;x=w;w=v;v=u;u=t;t=0;do{a=h;h=x>>>31|h<<1;x=t|x<<1;g=v<<1|a>>>31|0;a=v>>>31|w<<1|0;oh(e|0,k|0,g|0,a|0)|0;i=D;l=i>>31|((i|0)<0?-1:0)<<1;t=l&1;v=oh(g|0,a|0,l&b|0,(((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1)&d|0)|0;w=D;u=u-1|0}while((u|0)!=0);B=h;C=x;E=w;F=v;G=0;H=t}t=C;C=0;if(f|0){c[f>>2]=F;c[f+4>>2]=E}n=(t|0)>>>31|(B|C)<<1|(C<<1|t>>>31)&0|G;o=(t<<1|0>>>31)&-2|H;return (D=n,o)|0}function yh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return xh(a,b,c,d,0)|0}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a&65535;d=b&65535;e=S(d,c)|0;f=a>>>16;a=(e>>>16)+(S(d,f)|0)|0;d=b>>>16;b=S(d,c)|0;return (D=(a>>>16)+(S(d,f)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|e&65535|0)|0}function Ah(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=c;c=zh(e,a)|0;f=D;return (D=(S(b,a)|0)+(S(d,e)|0)+f|f&0,c|0|0)|0}function Bh(a){a=a|0;var b=0,d=0;a=a+15&-16|0;b=c[i>>2]|0;d=b+a|0;if((a|0)>0&(d|0)<(b|0)|(d|0)<0){_()|0;oa(12);return -1}c[i>>2]=d;if((d|0)>(Z()|0)?(Y()|0)==0:0){oa(12);c[i>>2]=b;return -1}return b|0}function Ch(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else vh(b,c,d)|0;return b|0}function Dh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f|0;xh(a,b,d,e,g)|0;l=f;return (D=c[g+4>>2]|0,c[g>>2]|0)|0}function Eh(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function Fh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return va[a&7](b|0,c|0,d|0)|0}function Gh(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;wa[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0)}function Hh(a){a=a|0;return xa[a&1]()|0}function Ih(a,b){a=a|0;b=b|0;ya[a&15](b|0)}function Jh(a,b,c){a=a|0;b=b|0;c=c|0;za[a&7](b|0,c|0)}function Kh(a,b){a=a|0;b=b|0;return Aa[a&7](b|0)|0}function Lh(a){a=a|0;Ba[a&7]()}function Mh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ca[a&1](b|0,c|0,d|0,e|0)|0}function Nh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;Da[a&1](b|0,c|0,d|0,e|0,f|0,g|0)}function Oh(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[a&31](b|0,c|0)|0}function Ph(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Fa[a&3](b|0,c|0,d|0,e|0,f|0)|0}function Qh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Ga[a&63](b|0,c|0,d|0,e|0)}function Rh(a,b,c){a=a|0;b=b|0;c=c|0;W(0);return 0}function Sh(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;W(1)}function Th(){W(2);return 0}function Uh(a){a=a|0;W(3)}function Vh(a,b){a=a|0;b=b|0;W(4)}function Wh(a){a=a|0;W(5);return 0}function Xh(){W(6)}function Yh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;W(7);return 0}function Zh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;W(8)}function _h(a,b){a=a|0;b=b|0;W(9);return 0}function $h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;W(10);return 0}function ai(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;W(11)}

// EMSCRIPTEN_END_FUNCS
var va=[Rh,Se,qg,kg,Vg,Md,jg,Rh];var wa=[Sh,uc,wc,tc,zc,oc,qc,lc,xc,nc,Ac,vc,yc,rc,sc,Sh];var xa=[Th,rd];var ya=[Uh,ld,od,pd,qd,Af,Uf,Wf,Xf,qe,zd,Uh,Uh,Uh,Uh,Uh];var za=[Vh,Tc,Zc,Wc,_c,ad,cd,sf];var Aa=[Wh,md,nd,Re,ig,eb,Wh,Wh];var Ba=[Xh,be,kd,$a,Pe,Xh,Xh,Xh];var Ca=[Yh,We];var Da=[Zh,If];var Ea=[_h,Qe,Te,Ve,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,ee,fe,ge,Ee,Xe,Nd,Ff,Hf,Ce,Ta,Va,Vf,_h,_h];var Fa=[$h,Ue,cb,$h];var Ga=[ai,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,jb,pb,rb,sb,lb,wb,xb,yb,kb,tb,ub,vb,mb,zb,Bb,Cb,nb,Db,Fb,Gb,ob,Hb,Jb,Kb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,_b,dc,ec,fc,gc,$b,ac,bc,cc,hc,ic,jc,kc,oe,Sa,zf,ai,ai,ai,ai,ai,ai,ai,ai];return{_ogv_video_decoder_destroy:eg,stackSave:Ia,_ogv_video_decoder_init:cg,_llvm_cttz_i32:wh,_ogv_video_decoder_process_frame:gg,getTempRet0:Na,_bitshift64Lshr:rh,_bitshift64Shl:sh,_ogv_video_decoder_process_header:fg,_memset:qh,_sbrk:Bh,_memcpy:vh,stackAlloc:Ha,___muldi3:Ah,___uremdi3:Dh,_i64Subtract:oh,___udivmoddi4:xh,setTempRet0:Ma,_realloc:kh,_i64Add:ph,_ogv_video_decoder_async:dg,_emscripten_get_global_libc:hg,___udivdi3:yh,_llvm_bswap_i32:Eh,___muldsi3:zh,_testSetjmp:uh,_saveSetjmp:th,_free:jh,runPostSets:nh,setThrew:La,establishStackSpace:Ka,_memmove:Ch,stackRestore:Ja,_malloc:ih,stackAlloc:Ha,stackSave:Ia,stackRestore:Ja,establishStackSpace:Ka,setThrew:La,setTempRet0:Ma,getTempRet0:Na,dynCall_iiii:Fh,dynCall_viiiiiiiiii:Gh,dynCall_i:Hh,dynCall_vi:Ih,dynCall_vii:Jh,dynCall_ii:Kh,dynCall_v:Lh,dynCall_iiiii:Mh,dynCall_viiiiii:Nh,dynCall_iii:Oh,dynCall_iiiiii:Ph,dynCall_viiii:Qh}})


// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _ogv_video_decoder_destroy=Module["_ogv_video_decoder_destroy"]=asm["_ogv_video_decoder_destroy"];var stackSave=Module["stackSave"]=asm["stackSave"];var _ogv_video_decoder_init=Module["_ogv_video_decoder_init"]=asm["_ogv_video_decoder_init"];var _llvm_cttz_i32=Module["_llvm_cttz_i32"]=asm["_llvm_cttz_i32"];var _ogv_video_decoder_process_frame=Module["_ogv_video_decoder_process_frame"]=asm["_ogv_video_decoder_process_frame"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _ogv_video_decoder_process_header=Module["_ogv_video_decoder_process_header"]=asm["_ogv_video_decoder_process_header"];var _memset=Module["_memset"]=asm["_memset"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var ___udivmoddi4=Module["___udivmoddi4"]=asm["___udivmoddi4"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _realloc=Module["_realloc"]=asm["_realloc"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _ogv_video_decoder_async=Module["_ogv_video_decoder_async"]=asm["_ogv_video_decoder_async"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var ___muldsi3=Module["___muldsi3"]=asm["___muldsi3"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _free=Module["_free"]=asm["_free"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setThrew=Module["setThrew"]=asm["setThrew"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var _memmove=Module["_memmove"]=asm["_memmove"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _malloc=Module["_malloc"]=asm["_malloc"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=asm["dynCall_viiiiiiiiii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;Module["then"]=(function(func){if(Module["calledRun"]){func(Module)}else{var old=Module["onRuntimeInitialized"];Module["onRuntimeInitialized"]=(function(){if(old)old();func(Module)})}return Module});function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i<argc-1;i=i+1){argv.push(allocate(intArrayFromString(args[i]),"i8",ALLOC_NORMAL));pad()}argv.push(0);argv=allocate(argv,"i32",ALLOC_NORMAL);try{var ret=Module["_main"](argc,argv,0);exit(ret,true)}catch(e){if(e instanceof ExitStatus){return}else if(e=="SimulateInfiniteLoop"){Module["noExitRuntime"]=true;return}else{var toLog=e;if(e&&typeof e==="object"&&e.stack){toLog=[e,e.stack]}Module.printErr("exception thrown: "+toLog);Module["quit"](1,e)}}finally{calledMain=true}};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=false;if(Module["noInitialRun"]){shouldRunNow=false}Module["noExitRuntime"]=true;run();var inputBuffer,inputBufferSize;function reallocInputBuffer(size){if(inputBuffer&&inputBufferSize>=size){return inputBuffer}if(inputBuffer){Module._free(inputBuffer)}inputBufferSize=size;inputBuffer=Module._malloc(inputBufferSize);return inputBuffer}var getTimestamp;if(typeof performance==="undefined"||typeof performance.now==="undefined"){getTimestamp=Date.now}else{getTimestamp=performance.now.bind(performance)}function time(func){var start=getTimestamp(),ret;ret=func();Module.cpuTime+=getTimestamp()-start;return ret}function copyByteArray(bytes){var heap=bytes.buffer;if(heap instanceof ArrayBuffer&&typeof heap.slice==="function"){var extract=heap.slice(bytes.byteOffset,bytes.byteOffset+bytes.byteLength);return new Uint8Array(extract)}else{return new Uint8Array(bytes)}}Module.loadedMetadata=!!options.videoFormat;Module.videoFormat=options.videoFormat||null;Module.frameBuffer=null;Module.cpuTime=0;Object.defineProperty(Module,"processing",{get:function getProcessing(){return false}});Module.init=(function(callback){function finish(){time((function(){Module._ogv_video_decoder_init()}));callback()}if(Module.wasmBinary){Module.onRuntimeInitialized=(function(){finish()})}else{finish()}});Module.processHeader=(function(data,callback){var ret=time((function(){var len=data.byteLength;var buffer=reallocInputBuffer(len);Module.HEAPU8.set(new Uint8Array(data),buffer);return Module._ogv_video_decoder_process_header(buffer,len)}));callback(ret)});Module.callbacks=[];Module.processFrame=(function(data,callback){var isAsync=Module._ogv_video_decoder_async();var len=data.byteLength;var buffer=Module._malloc(len);function callbackWrapper(ret){Module._free(buffer);callback(ret)}if(isAsync){Module.callbacks.push(callbackWrapper)}var ret=time((function(){Module.HEAPU8.set(new Uint8Array(data),buffer);return Module._ogv_video_decoder_process_frame(buffer,len)}));if(!isAsync){callbackWrapper(ret)}});Module.close=(function(){});Math.imul=Math_imul_orig





  return OGVDecoderVideoVP9;
};
})();
